home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_6_QH Main6.txt < prev    next >
Text File  |  1995-09-30  |  605KB  |  10,945 lines

  1. # near model CODE resource
  2. # jump table entries: 59632-59707 (76 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  E8F0 0000 74E6           bftst      [A0 + D7.w * 4 - 0x26] {0:32}
  5. 00000008  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6. 0000000C  4FEF FEF4                lea.l      A7, [A7 - 0x10C]
  7. 00000010  286F 0134                movea.l    A4, [A7 + 0x134]
  8. 00000014  3F6D B640 0008           move.w     [A7 + 0x8], [A5 - 0x49C0]
  9. 0000001A  1F6D B642 000A           move.b     [A7 + 0xA], [A5 - 0x49BE]
  10. 00000020  7801                     moveq.l    D4, 0x01
  11. 00000022  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  12. 00000026  42A7                     clr.l      -[A7]
  13. 00000028  4EAD E118                jsr        [A5 - 0x1EE8]
  14. 0000002C  2648                     movea.l    A3, A0
  15. 0000002E  200B                     move.l     D0, A3
  16. 00000030  504F                     addq.w     A7, 8
  17. 00000032  6700 01BA                beq        +0x1BC /* 000001EE */
  18. 00000036  2F0B                     move.l     -[A7], A3
  19. 00000038  4EBA 02E0                jsr        [PC + 0x2E0 /* 0000031A */]
  20. 0000003C  2C00                     move.l     D6, D0
  21. 0000003E  302C 006C                move.w     D0, [A4 + 0x6C]
  22. 00000042  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  23. 00000046  584F                     addq.w     A7, 4
  24. 00000048  6610                     bne        +0x12 /* 0000005A */
  25. 0000004A  4227                     clr.b      -[A7]
  26. 0000004C  2F0C                     move.l     -[A7], A4
  27. 0000004E  4EAD E818                jsr        [A5 - 0x17E8]
  28. 00000052  2C48                     movea.l    A6, A0
  29. 00000054  2008                     move.l     D0, A0
  30. 00000056  5C4F                     addq.w     A7, 6
  31. 00000058  662E                     bne        +0x30 /* 00000088 */
  32. label0000005A:
  33. 0000005A  1F3C 0003                move.b     -[A7], 0x3
  34. 0000005E  2F2D 8812                move.l     -[A7], [A5 - 0x77EE]
  35. 00000062  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  36. 00000066  42A7                     clr.l      -[A7]
  37. 00000068  4EAD E148                jsr        [A5 - 0x1EB8]
  38. 0000006C  1F3C 0003                move.b     -[A7], 0x3
  39. 00000070  2F2D 880E                move.l     -[A7], [A5 - 0x77F2]
  40. 00000074  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  41. 00000078  42A7                     clr.l      -[A7]
  42. 0000007A  4EAD E148                jsr        [A5 - 0x1EB8]
  43. 0000007E  4FEF 0128                lea.l      A7, [A7 + 0x128]
  44. 00000082  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  45. 00000086  4E75                     rts
  46. label00000088:
  47. 00000088  7000                     moveq.l    D0, 0x00
  48. 0000008A  102D 81A0                move.b     D0, [A5 - 0x7E60]
  49. 0000008E  7202                     moveq.l    D1, 0x02
  50. 00000090  B081                     cmp.l      D0, D1
  51. 00000092  6D20                     blt        +0x22 /* 000000B4 */
  52. 00000094  594F                     subq.w     A7, 4
  53. 00000096  AA2A                     syscall    GetMainDevice
  54. 00000098  205F                     movea.l    A0, [A7]+
  55. 0000009A  2608                     move.l     D3, A0
  56. 0000009C  2443                     movea.l    A2, D3
  57. 0000009E  2452                     movea.l    A2, [A2]
  58. 000000A0  45EA 0022                lea.l      A2, [A2 + 0x22]
  59. 000000A4  302A 0002                move.w     D0, [A2 + 0x2]
  60. 000000A8  48C0                     ext.l      D0
  61. 000000AA  3E2A 0006                move.w     D7, [A2 + 0x6]
  62. 000000AE  48C7                     ext.l      D7
  63. 000000B0  9E80                     sub.l      D7, D0
  64. 000000B2  600E                     bra        +0x10 /* 000000C2 */
  65. label000000B4:
  66. 000000B4  302D 1586                move.w     D0, [A5 + 0x1586]
  67. 000000B8  48C0                     ext.l      D0
  68. 000000BA  3E2D 158A                move.w     D7, [A5 + 0x158A /* export_685 */]
  69. 000000BE  48C7                     ext.l      D7
  70. 000000C0  9E80                     sub.l      D7, D0
  71. label000000C2:
  72. 000000C2  1F3C 0002                move.b     -[A7], 0x2
  73. 000000C6  2F2D 8812                move.l     -[A7], [A5 - 0x77EE]
  74. 000000CA  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  75. 000000CE  42A7                     clr.l      -[A7]
  76. 000000D0  4EAD E148                jsr        [A5 - 0x1EB8]
  77. 000000D4  1F3C 0001                move.b     -[A7], 0x1
  78. 000000D8  2F0C                     move.l     -[A7], A4
  79. 000000DA  4EAD E818                jsr        [A5 - 0x17E8]
  80. 000000DE  2F50 0014                move.l     [A7 + 0x14], [A0]
  81. 000000E2  2F0E                     move.l     -[A7], A6
  82. 000000E4  4EAD D9AC                jsr        [A5 - 0x2654]
  83. 000000E8  201F                     move.l     D0, [A7]+
  84. 000000EA  7214                     moveq.l    D1, 0x14
  85. 000000EC  4EAD D8FE                jsr        [A5 - 0x2702]
  86. 000000F0  2F40 0014                move.l     [A7 + 0x14], D0
  87. 000000F4  2F0E                     move.l     -[A7], A6
  88. 000000F6  4EAD DD80                jsr        [A5 - 0x2280]
  89. 000000FA  2448                     movea.l    A2, A0
  90. 000000FC  2606                     move.l     D3, D6
  91. 000000FE  5283                     addq.l     D3, 1
  92. 00000100  7A01                     moveq.l    D5, 0x01
  93. 00000102  4FEF 0014                lea.l      A7, [A7 + 0x14]
  94. 00000106  6000 00BA                bra        +0xBC /* 000001C2 */
  95. label0000010A:
  96. 0000010A  4A84                     tst.l      D4
  97. 0000010C  6710                     beq        +0x12 /* 0000011E */
  98. 0000010E  7800                     moveq.l    D4, 0x00
  99. 00000110  4A86                     tst.l      D6
  100. 00000112  670A                     beq        +0xC /* 0000011E */
  101. 00000114  2F0B                     move.l     -[A7], A3
  102. 00000116  486F 000C                pea.l      [A7 + 0xC]
  103. 0000011A  A933                     syscall    AppendMenu
  104. 0000011C  5243                     addq.w     D3, 1
  105. label0000011E:
  106. 0000011E  2F0B                     move.l     -[A7], A3
  107. 00000120  486F 000C                pea.l      [A7 + 0xC]
  108. 00000124  A933                     syscall    AppendMenu
  109. 00000126  2052                     movea.l    A0, [A2]
  110. 00000128  2F10                     move.l     -[A7], [A0]
  111. 0000012A  486F 0010                pea.l      [A7 + 0x10]
  112. 0000012E  4EAD DDC8                jsr        [A5 - 0x2238]
  113. 00000132  2F0C                     move.l     -[A7], A4
  114. 00000134  4EAD DD40                jsr        [A5 - 0x22C0]
  115. 00000138  4EAD DD60                jsr        [A5 - 0x22A0]
  116. 0000013C  4267                     clr.w      -[A7]
  117. 0000013E  A887                     syscall    TextFont
  118. 00000140  4267                     clr.w      -[A7]
  119. 00000142  A88A                     syscall    TextSize
  120. 00000144  554F                     subq.w     A7, 2
  121. 00000146  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  122. 0000014A  A88D                     syscall    CharWidth
  123. 0000014C  301F                     move.w     D0, [A7]+
  124. 0000014E  C1FC 000F                muls.w     D0, 0xF
  125. 00000152  3207                     move.w     D1, D7
  126. 00000154  48C1                     ext.l      D1
  127. 00000156  9280                     sub.l      D1, D0
  128. 00000158  3F01                     move.w     -[A7], D1
  129. 0000015A  486F 001A                pea.l      [A7 + 0x1A]
  130. 0000015E  4267                     clr.w      -[A7]
  131. 00000160  4EAD DE20                jsr        [A5 - 0x21E0]
  132. 00000164  4EAD DD68                jsr        [A5 - 0x2298]
  133. 00000168  4EAD DD48                jsr        [A5 - 0x22B8]
  134. 0000016C  2F0B                     move.l     -[A7], A3
  135. 0000016E  3F03                     move.w     -[A7], D3
  136. 00000170  486F 001E                pea.l      [A7 + 0x1E]
  137. 00000174  A947                     syscall    SetMenuItemText/SetItem
  138. 00000176  4A2A 0012                tst.b      [A2 + 0x12]
  139. 0000017A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  140. 0000017E  670E                     beq        +0x10 /* 0000018E */
  141. 00000180  2F0B                     move.l     -[A7], A3
  142. 00000182  3F03                     move.w     -[A7], D3
  143. 00000184  102A 0012                move.b     D0, [A2 + 0x12]
  144. 00000188  4880                     ext.w      D0
  145. 0000018A  3F00                     move.w     -[A7], D0
  146. 0000018C  A84F                     syscall    SetItemCmd
  147. label0000018E:
  148. 0000018E  202A 0004                move.l     D0, [A2 + 0x4]
  149. 00000192  B097                     cmp.l      D0, [A7]
  150. 00000194  6624                     bne        +0x26 /* 000001BA */
  151. 00000196  4AAD B2D8                tst.l      [A5 - 0x4D28]
  152. 0000019A  6714                     beq        +0x16 /* 000001B0 */
  153. 0000019C  1F3C 0006                move.b     -[A7], 0x6
  154. 000001A0  2F0C                     move.l     -[A7], A4
  155. 000001A2  4EAD E818                jsr        [A5 - 0x17E8]
  156. 000001A6  302A 0010                move.w     D0, [A2 + 0x10]
  157. 000001AA  B050                     cmp.w      D0, [A0]
  158. 000001AC  5C4F                     addq.w     A7, 6
  159. 000001AE  660A                     bne        +0xC /* 000001BA */
  160. label000001B0:
  161. 000001B0  2F0B                     move.l     -[A7], A3
  162. 000001B2  3F03                     move.w     -[A7], D3
  163. 000001B4  1F3C 0001                move.b     -[A7], 0x1
  164. 000001B8  A945                     syscall    CheckItem
  165. label000001BA:
  166. 000001BA  5285                     addq.l     D5, 1
  167. 000001BC  7014                     moveq.l    D0, 0x14
  168. 000001BE  D5C0                     add.l      A2, D0
  169. 000001C0  5243                     addq.w     D3, 1
  170. label000001C2:
  171. 000001C2  BAAF 0004                cmp.l      D5, [A7 + 0x4]
  172. 000001C6  6F00 FF42                ble        -0xBC /* 0000010A */
  173. 000001CA  2F0E                     move.l     -[A7], A6
  174. 000001CC  4EAD DD88                jsr        [A5 - 0x2278]
  175. 000001D0  4A84                     tst.l      D4
  176. 000001D2  6604                     bne        +0x6 /* 000001D8 */
  177. 000001D4  7002                     moveq.l    D0, 0x02
  178. 000001D6  6002                     bra        +0x4 /* 000001DA */
  179. label000001D8:
  180. 000001D8  7003                     moveq.l    D0, 0x03
  181. label000001DA:
  182. 000001DA  1F00                     move.b     -[A7], D0
  183. 000001DC  2F2D 880E                move.l     -[A7], [A5 - 0x77F2]
  184. 000001E0  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  185. 000001E4  42A7                     clr.l      -[A7]
  186. 000001E6  4EAD E148                jsr        [A5 - 0x1EB8]
  187. 000001EA  4FEF 0012                lea.l      A7, [A7 + 0x12]
  188. label000001EE:
  189. 000001EE  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  190. 000001F2  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  191. 000001F6  4E75                     rts
  192. 000001F8  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  193. 000001FC  246F 0018                movea.l    A2, [A7 + 0x18]
  194. 00000200  382F 001C                move.w     D4, [A7 + 0x1C]
  195. 00000204  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  196. 00000208  42A7                     clr.l      -[A7]
  197. 0000020A  4EAD E120                jsr        [A5 - 0x1EE0]
  198. 0000020E  48C0                     ext.l      D0
  199. 00000210  2600                     move.l     D3, D0
  200. 00000212  4A83                     tst.l      D3
  201. 00000214  504F                     addq.w     A7, 8
  202. 00000216  6702                     beq        +0x4 /* 0000021A */
  203. 00000218  5283                     addq.l     D3, 1
  204. label0000021A:
  205. 0000021A  302A 006C                move.w     D0, [A2 + 0x6C]
  206. 0000021E  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  207. 00000222  6610                     bne        +0x12 /* 00000234 */
  208. 00000224  4227                     clr.b      -[A7]
  209. 00000226  2F0A                     move.l     -[A7], A2
  210. 00000228  4EAD E818                jsr        [A5 - 0x17E8]
  211. 0000022C  2648                     movea.l    A3, A0
  212. 0000022E  2008                     move.l     D0, A0
  213. 00000230  5C4F                     addq.w     A7, 6
  214. 00000232  6606                     bne        +0x8 /* 0000023A */
  215. label00000234:
  216. 00000234  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  217. 00000238  4E75                     rts
  218. label0000023A:
  219. 0000023A  4A83                     tst.l      D3
  220. 0000023C  6774                     beq        +0x76 /* 000002B2 */
  221. 0000023E  3004                     move.w     D0, D4
  222. 00000240  48C0                     ext.l      D0
  223. 00000242  B083                     cmp.l      D0, D3
  224. 00000244  6F6C                     ble        +0x6E /* 000002B2 */
  225. 00000246  3004                     move.w     D0, D4
  226. 00000248  48C0                     ext.l      D0
  227. 0000024A  9083                     sub.l      D0, D3
  228. 0000024C  5380                     subq.l     D0, 1
  229. 0000024E  7214                     moveq.l    D1, 0x14
  230. 00000250  4EAD D8F8                jsr        [A5 - 0x2708]
  231. 00000254  2053                     movea.l    A0, [A3]
  232. 00000256  D1C0                     add.l      A0, D0
  233. 00000258  2848                     movea.l    A4, A0
  234. 0000025A  4AAD B2D8                tst.l      [A5 - 0x4D28]
  235. 0000025E  6734                     beq        +0x36 /* 00000294 */
  236. 00000260  1F3C 0006                move.b     -[A7], 0x6
  237. 00000264  2F0A                     move.l     -[A7], A2
  238. 00000266  4EAD E818                jsr        [A5 - 0x17E8]
  239. 0000026A  302C 0010                move.w     D0, [A4 + 0x10]
  240. 0000026E  B050                     cmp.w      D0, [A0]
  241. 00000270  5C4F                     addq.w     A7, 6
  242. 00000272  6720                     beq        +0x22 /* 00000294 */
  243. 00000274  42A7                     clr.l      -[A7]
  244. 00000276  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  245. 0000027A  3F2C 000C                move.w     -[A7], [A4 + 0xC]
  246. 0000027E  42A7                     clr.l      -[A7]
  247. 00000280  2F2C 0004                move.l     -[A7], [A4 + 0x4]
  248. 00000284  3F2C 0010                move.w     -[A7], [A4 + 0x10]
  249. 00000288  2F0A                     move.l     -[A7], A2
  250. 0000028A  4EAD FF20                jsr        [A5 - 0xE0]
  251. 0000028E  4FEF 0016                lea.l      A7, [A7 + 0x16]
  252. 00000292  605A                     bra        +0x5C /* 000002EE */
  253. label00000294:
  254. 00000294  42A7                     clr.l      -[A7]
  255. 00000296  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  256. 0000029A  3F2C 000C                move.w     -[A7], [A4 + 0xC]
  257. 0000029E  4878 FFFF                push.l     0xFFFF
  258. 000002A2  2F2C 0004                move.l     -[A7], [A4 + 0x4]
  259. 000002A6  2F0A                     move.l     -[A7], A2
  260. 000002A8  4EBA 22CC                jsr        [PC + 0x22CC /* 00002576 */]
  261. 000002AC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  262. 000002B0  603C                     bra        +0x3E /* 000002EE */
  263. label000002B2:
  264. 000002B2  3004                     move.w     D0, D4
  265. 000002B4  48C0                     ext.l      D0
  266. 000002B6  5380                     subq.l     D0, 1
  267. 000002B8  672A                     beq        +0x2C /* 000002E4 */
  268. 000002BA  5380                     subq.l     D0, 1
  269. 000002BC  6702                     beq        +0x4 /* 000002C0 */
  270. 000002BE  602E                     bra        +0x30 /* 000002EE */
  271. label000002C0:
  272. 000002C0  200B                     move.l     D0, A3
  273. 000002C2  672A                     beq        +0x2C /* 000002EE */
  274. 000002C4  2F0B                     move.l     -[A7], A3
  275. 000002C6  2F0A                     move.l     -[A7], A2
  276. 000002C8  4EAD DEA8                jsr        [A5 - 0x2158]
  277. 000002CC  2848                     movea.l    A4, A0
  278. 000002CE  2008                     move.l     D0, A0
  279. 000002D0  504F                     addq.w     A7, 8
  280. 000002D2  671A                     beq        +0x1C /* 000002EE */
  281. 000002D4  2F0C                     move.l     -[A7], A4
  282. 000002D6  4227                     clr.b      -[A7]
  283. 000002D8  2F0A                     move.l     -[A7], A2
  284. 000002DA  4EAD E820                jsr        [A5 - 0x17E0]
  285. 000002DE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  286. 000002E2  600A                     bra        +0xC /* 000002EE */
  287. label000002E4:
  288. 000002E4  2F0B                     move.l     -[A7], A3
  289. 000002E6  2F0A                     move.l     -[A7], A2
  290. 000002E8  4EBA 0070                jsr        [PC + 0x70 /* 0000035A */]
  291. 000002EC  504F                     addq.w     A7, 8
  292. label000002EE:
  293. 000002EE  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  294. 000002F2  4E75                     rts
  295. 000002F4  2F0A                     move.l     -[A7], A2
  296. 000002F6  246F 0008                movea.l    A2, [A7 + 0x8]
  297. 000002FA  200A                     move.l     D0, A2
  298. 000002FC  6718                     beq        +0x1A /* 00000316 */
  299. 000002FE  42A7                     clr.l      -[A7]
  300. 00000300  3F3C 0001                move.w     -[A7], 0x1
  301. 00000304  4878 0014                push.l     0x14
  302. 00000308  2F0A                     move.l     -[A7], A2
  303. 0000030A  4EAD DE18                jsr        [A5 - 0x21E8]
  304. 0000030E  204A                     movea.l    A0, A2
  305. 00000310  A023                     syscall    DisposHandle/DisposeHandle
  306. 00000312  4FEF 000E                lea.l      A7, [A7 + 0xE]
  307. label00000316:
  308. 00000316  245F                     movea.l    A2, [A7]+
  309. 00000318  4E75                     rts
  310. fn0000031A:
  311. 0000031A  48E7 1820                movem.l    -[A7], D3,D4,A2
  312. 0000031E  246F 0010                movea.l    A2, [A7 + 0x10]
  313. 00000322  2F2D 8816                move.l     -[A7], [A5 - 0x77EA]
  314. 00000326  42A7                     clr.l      -[A7]
  315. 00000328  4EAD E120                jsr        [A5 - 0x1EE0]
  316. 0000032C  48C0                     ext.l      D0
  317. 0000032E  2600                     move.l     D3, D0
  318. 00000330  2F0A                     move.l     -[A7], A2
  319. 00000332  A950                     syscall    CountMItems
  320. 00000334  301F                     move.w     D0, [A7]+
  321. 00000336  48C0                     ext.l      D0
  322. 00000338  9083                     sub.l      D0, D3
  323. 0000033A  2800                     move.l     D4, D0
  324. 0000033C  5C4F                     addq.w     A7, 6
  325. 0000033E  600A                     bra        +0xC /* 0000034A */
  326. label00000340:
  327. 00000340  2F0A                     move.l     -[A7], A2
  328. 00000342  2003                     move.l     D0, D3
  329. 00000344  5280                     addq.l     D0, 1
  330. 00000346  3F00                     move.w     -[A7], D0
  331. 00000348  A952                     syscall    DeleteMenuItem/DelMenuItem
  332. label0000034A:
  333. 0000034A  2004                     move.l     D0, D4
  334. 0000034C  5384                     subq.l     D4, 1
  335. 0000034E  4A80                     tst.l      D0
  336. 00000350  66EE                     bne        -0x10 /* 00000340 */
  337. 00000352  2003                     move.l     D0, D3
  338. 00000354  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  339. 00000358  4E75                     rts
  340. fn0000035A:
  341. 0000035A  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  342. 0000035E  4FEF FDF2                lea.l      A7, [A7 - 0x20E]
  343. 00000362  266F 022E                movea.l    A3, [A7 + 0x22E]
  344. 00000366  2C6F 0232                movea.l    A6, [A7 + 0x232]
  345. 0000036A  1F3C 0001                move.b     -[A7], 0x1
  346. 0000036E  2F0B                     move.l     -[A7], A3
  347. 00000370  4EAD E818                jsr        [A5 - 0x17E8]
  348. 00000374  2610                     move.l     D3, [A0]
  349. 00000376  7A00                     moveq.l    D5, 0x00
  350. 00000378  1F3C 0006                move.b     -[A7], 0x6
  351. 0000037C  2F0B                     move.l     -[A7], A3
  352. 0000037E  4EAD E818                jsr        [A5 - 0x17E8]
  353. 00000382  3810                     move.w     D4, [A0]
  354. 00000384  4878 0100                push.l     0x100
  355. 00000388  486F 001E                pea.l      [A7 + 0x1E]
  356. 0000038C  2F03                     move.l     -[A7], D3
  357. 0000038E  3F04                     move.w     -[A7], D4
  358. 00000390  4EAD E1B0                jsr        [A5 - 0x1E50]
  359. 00000394  486F 001B                pea.l      [A7 + 0x1B]
  360. 00000398  4878 0100                push.l     0x100
  361. 0000039C  486F 0130                pea.l      [A7 + 0x130]
  362. 000003A0  2F0E                     move.l     -[A7], A6
  363. 000003A2  486F 0038                pea.l      [A7 + 0x38]
  364. 000003A6  2F0B                     move.l     -[A7], A3
  365. 000003A8  4EAD DEA0                jsr        [A5 - 0x2160]
  366. 000003AC  4A40                     tst.w      D0
  367. 000003AE  4FEF 0032                lea.l      A7, [A7 + 0x32]
  368. 000003B2  6700 00D0                beq        +0xD2 /* 00000484 */
  369. 000003B6  41EF 010E                lea.l      A0, [A7 + 0x10E]
  370. 000003BA  70FF                     moveq.l    D0, 0xFFFFFFFF
  371. label000003BC:
  372. 000003BC  5280                     addq.l     D0, 1
  373. 000003BE  4A18                     tst.b      [A0]+
  374. 000003C0  66FA                     bne        -0x4 /* 000003BC */
  375. 000003C2  5280                     addq.l     D0, 1
  376. 000003C4  2800                     move.l     D4, D0
  377. 000003C6  A122                     syscall    NewHandle, flags=1
  378. 000003C8  2848                     movea.l    A4, A0
  379. 000003CA  2008                     move.l     D0, A0
  380. 000003CC  661C                     bne        +0x1E /* 000003EA */
  381. 000003CE  554F                     subq.w     A7, 2
  382. 000003D0  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  383. 000003D4  301F                     move.w     D0, [A7]+
  384. 000003D6  3F00                     move.w     -[A7], D0
  385. 000003D8  3F3C 0002                move.w     -[A7], 0x2
  386. 000003DC  4EAD DE98                jsr        [A5 - 0x2168]
  387. 000003E0  4FEF 0212                lea.l      A7, [A7 + 0x212]
  388. 000003E4  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  389. 000003E8  4E75                     rts
  390. label000003EA:
  391. 000003EA  41EF 010E                lea.l      A0, [A7 + 0x10E]
  392. 000003EE  2254                     movea.l    A1, [A4]
  393. 000003F0  2004                     move.l     D0, D4
  394. 000003F2  A02E                     syscall    BlockMove/BlockMoveData
  395. 000003F4  594F                     subq.w     A7, 4
  396. 000003F6  2F0E                     move.l     -[A7], A6
  397. 000003F8  4EAD D9AC                jsr        [A5 - 0x2654]
  398. 000003FC  201F                     move.l     D0, [A7]+
  399. 000003FE  2800                     move.l     D4, D0
  400. 00000400  7214                     moveq.l    D1, 0x14
  401. 00000402  D081                     add.l      D0, D1
  402. 00000404  204E                     movea.l    A0, A6
  403. 00000406  A024                     syscall    SetHandleSize
  404. 00000408  554F                     subq.w     A7, 2
  405. 0000040A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  406. 0000040E  301F                     move.w     D0, [A7]+
  407. 00000410  3A00                     move.w     D5, D0
  408. 00000412  6720                     beq        +0x22 /* 00000434 */
  409. 00000414  204C                     movea.l    A0, A4
  410. 00000416  A023                     syscall    DisposHandle/DisposeHandle
  411. 00000418  554F                     subq.w     A7, 2
  412. 0000041A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  413. 0000041E  301F                     move.w     D0, [A7]+
  414. 00000420  3F00                     move.w     -[A7], D0
  415. 00000422  3F3C 0002                move.w     -[A7], 0x2
  416. 00000426  4EAD DE98                jsr        [A5 - 0x2168]
  417. 0000042A  4FEF 0212                lea.l      A7, [A7 + 0x212]
  418. 0000042E  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  419. 00000432  4E75                     rts
  420. label00000434:
  421. 00000434  486F 000A                pea.l      [A7 + 0xA]
  422. 00000438  486F 0006                pea.l      [A7 + 0x6]
  423. 0000043C  486F 000E                pea.l      [A7 + 0xE]
  424. 00000440  4227                     clr.b      -[A7]
  425. 00000442  2F0B                     move.l     -[A7], A3
  426. 00000444  4EBA 1C0A                jsr        [PC + 0x1C0A /* 00002050 */]
  427. 00000448  2456                     movea.l    A2, [A6]
  428. 0000044A  D5C4                     add.l      A2, D4
  429. 0000044C  248C                     move.l     [A2], A4
  430. 0000044E  2543 0004                move.l     [A2 + 0x4], D3
  431. 00000452  356F 001A 000C           move.w     [A2 + 0xC], [A7 + 0x1A]
  432. 00000458  356F 0016 000E           move.w     [A2 + 0xE], [A7 + 0x16]
  433. 0000045E  256F 001C 0008           move.l     [A2 + 0x8], [A7 + 0x1C]
  434. 00000464  4AAD B2D8                tst.l      [A5 - 0x4D28]
  435. 00000468  4FEF 0012                lea.l      A7, [A7 + 0x12]
  436. 0000046C  6710                     beq        +0x12 /* 0000047E */
  437. 0000046E  1F3C 0006                move.b     -[A7], 0x6
  438. 00000472  2F0B                     move.l     -[A7], A3
  439. 00000474  4EAD E818                jsr        [A5 - 0x17E8]
  440. 00000478  3550 0010                move.w     [A2 + 0x10], [A0]
  441. 0000047C  5C4F                     addq.w     A7, 6
  442. label0000047E:
  443. 0000047E  156F 0001 0012           move.b     [A2 + 0x12], [A7 + 0x1]
  444. label00000484:
  445. 00000484  4FEF 020E                lea.l      A7, [A7 + 0x20E]
  446. 00000488  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  447. 0000048C  4E75                     rts
  448. fn0000048E:
  449. 0000048E  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  450. 00000492  266F 0018                movea.l    A3, [A7 + 0x18]
  451. 00000496  182F 0020                move.b     D4, [A7 + 0x20]
  452. 0000049A  7000                     moveq.l    D0, 0x00
  453. 0000049C  1004                     move.b     D0, D4
  454. 0000049E  670E                     beq        +0x10 /* 000004AE */
  455. 000004A0  5380                     subq.l     D0, 1
  456. 000004A2  6718                     beq        +0x1A /* 000004BC */
  457. 000004A4  5380                     subq.l     D0, 1
  458. 000004A6  6722                     beq        +0x24 /* 000004CA */
  459. 000004A8  5380                     subq.l     D0, 1
  460. 000004AA  672C                     beq        +0x2E /* 000004D8 */
  461. 000004AC  4E71                     nop
  462. label000004AE:
  463. 000004AE  362D 135E                move.w     D3, [A5 + 0x135E]
  464. 000004B2  48C3                     ext.l      D3
  465. 000004B4  0683 0000 0080           addi.l     D3, 0x80
  466. 000004BA  6028                     bra        +0x2A /* 000004E4 */
  467. label000004BC:
  468. 000004BC  362D 135E                move.w     D3, [A5 + 0x135E]
  469. 000004C0  48C3                     ext.l      D3
  470. 000004C2  0683 0000 008E           addi.l     D3, 0x8E
  471. 000004C8  601A                     bra        +0x1C /* 000004E4 */
  472. label000004CA:
  473. 000004CA  362D 135E                move.w     D3, [A5 + 0x135E]
  474. 000004CE  48C3                     ext.l      D3
  475. 000004D0  0683 0000 008D           addi.l     D3, 0x8D
  476. 000004D6  600C                     bra        +0xE /* 000004E4 */
  477. label000004D8:
  478. 000004D8  362D 135E                move.w     D3, [A5 + 0x135E]
  479. 000004DC  48C3                     ext.l      D3
  480. 000004DE  0683 0000 008F           addi.l     D3, 0x8F
  481. label000004E4:
  482. 000004E4  594F                     subq.w     A7, 4
  483. 000004E6  3F03                     move.w     -[A7], D3
  484. 000004E8  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  485. 000004EC  A9BE                     syscall    GetNewControl
  486. 000004EE  205F                     movea.l    A0, [A7]+
  487. 000004F0  2448                     movea.l    A2, A0
  488. 000004F2  200A                     move.l     D0, A2
  489. 000004F4  6770                     beq        +0x72 /* 00000566 */
  490. 000004F6  0C04 0001                cmpi.b     D4, 0x1
  491. 000004FA  6706                     beq        +0x8 /* 00000502 */
  492. 000004FC  0C04 0002                cmpi.b     D4, 0x2
  493. 00000500  6630                     bne        +0x32 /* 00000532 */
  494. label00000502:
  495. 00000502  2F0A                     move.l     -[A7], A2
  496. 00000504  554F                     subq.w     A7, 2
  497. 00000506  2F0A                     move.l     -[A7], A2
  498. 00000508  A962                     syscall    GetControlMaximum/GetMaxCtl
  499. 0000050A  301F                     move.w     D0, [A7]+
  500. 0000050C  48C0                     ext.l      D0
  501. 0000050E  322D 135E                move.w     D1, [A5 + 0x135E]
  502. 00000512  48C1                     ext.l      D1
  503. 00000514  D280                     add.l      D1, D0
  504. 00000516  3F01                     move.w     -[A7], D1
  505. 00000518  A965                     syscall    SetControlMaximum/SetMaxCtl
  506. 0000051A  2F0A                     move.l     -[A7], A2
  507. 0000051C  554F                     subq.w     A7, 2
  508. 0000051E  2F0A                     move.l     -[A7], A2
  509. 00000520  A961                     syscall    GetControlMinimum/GetMinCtl
  510. 00000522  301F                     move.w     D0, [A7]+
  511. 00000524  48C0                     ext.l      D0
  512. 00000526  322D 135E                move.w     D1, [A5 + 0x135E]
  513. 0000052A  48C1                     ext.l      D1
  514. 0000052C  D280                     add.l      D1, D0
  515. 0000052E  3F01                     move.w     -[A7], D1
  516. 00000530  A964                     syscall    SetControlMinimum/SetMinCtl
  517. label00000532:
  518. 00000532  2F0A                     move.l     -[A7], A2
  519. 00000534  302B 0002                move.w     D0, [A3 + 0x2]
  520. 00000538  48C0                     ext.l      D0
  521. 0000053A  322B 0006                move.w     D1, [A3 + 0x6]
  522. 0000053E  48C1                     ext.l      D1
  523. 00000540  9280                     sub.l      D1, D0
  524. 00000542  3F01                     move.w     -[A7], D1
  525. 00000544  3013                     move.w     D0, [A3]
  526. 00000546  48C0                     ext.l      D0
  527. 00000548  322B 0004                move.w     D1, [A3 + 0x4]
  528. 0000054C  48C1                     ext.l      D1
  529. 0000054E  9280                     sub.l      D1, D0
  530. 00000550  3F01                     move.w     -[A7], D1
  531. 00000552  A95C                     syscall    SizeControl
  532. 00000554  2F0A                     move.l     -[A7], A2
  533. 00000556  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  534. 0000055A  3F13                     move.w     -[A7], [A3]
  535. 0000055C  A959                     syscall    MoveControl
  536. 0000055E  2F0A                     move.l     -[A7], A2
  537. 00000560  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  538. 00000564  A95F                     syscall    SetControlTitle/SetCTitle
  539. label00000566:
  540. 00000566  204A                     movea.l    A0, A2
  541. 00000568  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  542. 0000056C  4E75                     rts
  543. 0000056E  2F0A                     move.l     -[A7], A2
  544. 00000570  514F                     subq.w     A7, 8
  545. 00000572  246F 0010                movea.l    A2, [A7 + 0x10]
  546. 00000576  2052                     movea.l    A0, [A2]
  547. 00000578  2EA8 0008                move.l     [A7], [A0 + 0x8]
  548. 0000057C  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  549. 00000582  4AAF 0018                tst.l      [A7 + 0x18]
  550. 00000586  6712                     beq        +0x14 /* 0000059A */
  551. 00000588  2052                     movea.l    A0, [A2]
  552. 0000058A  2F28 0004                move.l     -[A7], [A0 + 0x4]
  553. 0000058E  4EAD DD40                jsr        [A5 - 0x22C0]
  554. 00000592  486F 0004                pea.l      [A7 + 0x4]
  555. 00000596  A928                     syscall    InvalRect
  556. 00000598  584F                     addq.w     A7, 4
  557. label0000059A:
  558. 0000059A  2052                     movea.l    A0, [A2]
  559. 0000059C  4868 0008                pea.l      [A0 + 0x8]
  560. 000005A0  302F 0006                move.w     D0, [A7 + 0x6]
  561. 000005A4  48C0                     ext.l      D0
  562. 000005A6  322F 0018                move.w     D1, [A7 + 0x18]
  563. 000005AA  48C1                     ext.l      D1
  564. 000005AC  9280                     sub.l      D1, D0
  565. 000005AE  3F01                     move.w     -[A7], D1
  566. 000005B0  302F 0006                move.w     D0, [A7 + 0x6]
  567. 000005B4  48C0                     ext.l      D0
  568. 000005B6  322F 001C                move.w     D1, [A7 + 0x1C]
  569. 000005BA  48C1                     ext.l      D1
  570. 000005BC  9280                     sub.l      D1, D0
  571. 000005BE  3F01                     move.w     -[A7], D1
  572. 000005C0  A8A8                     syscall    OffsetRect
  573. 000005C2  4AAF 0018                tst.l      [A7 + 0x18]
  574. 000005C6  6714                     beq        +0x16 /* 000005DC */
  575. 000005C8  2052                     movea.l    A0, [A2]
  576. 000005CA  2EA8 0008                move.l     [A7], [A0 + 0x8]
  577. 000005CE  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  578. 000005D4  4857                     pea.l      [A7]
  579. 000005D6  A928                     syscall    InvalRect
  580. 000005D8  4EAD DD48                jsr        [A5 - 0x22B8]
  581. label000005DC:
  582. 000005DC  504F                     addq.w     A7, 8
  583. 000005DE  245F                     movea.l    A2, [A7]+
  584. 000005E0  4E75                     rts
  585. 000005E2  2F0A                     move.l     -[A7], A2
  586. 000005E4  514F                     subq.w     A7, 8
  587. 000005E6  206F 0010                movea.l    A0, [A7 + 0x10]
  588. 000005EA  2450                     movea.l    A2, [A0]
  589. 000005EC  7000                     moveq.l    D0, 0x00
  590. 000005EE  102A 0011                move.b     D0, [A2 + 0x11]
  591. 000005F2  322F 0014                move.w     D1, [A7 + 0x14]
  592. 000005F6  48C1                     ext.l      D1
  593. 000005F8  B280                     cmp.l      D1, D0
  594. 000005FA  6724                     beq        +0x26 /* 00000620 */
  595. 000005FC  156F 0015 0011           move.b     [A2 + 0x11], [A7 + 0x15]
  596. 00000602  2EAA 0008                move.l     [A7], [A2 + 0x8]
  597. 00000606  2F6A 000C 0004           move.l     [A7 + 0x4], [A2 + 0xC]
  598. 0000060C  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  599. 00000610  4EAD DD40                jsr        [A5 - 0x22C0]
  600. 00000614  486F 0004                pea.l      [A7 + 0x4]
  601. 00000618  A928                     syscall    InvalRect
  602. 0000061A  4EAD DD48                jsr        [A5 - 0x22B8]
  603. 0000061E  584F                     addq.w     A7, 4
  604. label00000620:
  605. 00000620  504F                     addq.w     A7, 8
  606. 00000622  245F                     movea.l    A2, [A7]+
  607. 00000624  4E75                     rts
  608. fn00000626:
  609. 00000626  48E7 1820                movem.l    -[A7], D3,D4,A2
  610. 0000062A  514F                     subq.w     A7, 8
  611. 0000062C  282F 001C                move.l     D4, [A7 + 0x1C]
  612. 00000630  206F 0018                movea.l    A0, [A7 + 0x18]
  613. 00000634  2450                     movea.l    A2, [A0]
  614. 00000636  4A2A 0010                tst.b      [A2 + 0x10]
  615. 0000063A  56C0                     sne        D0
  616. 0000063C  4400                     neg.b      D0
  617. 0000063E  4880                     ext.w      D0
  618. 00000640  48C0                     ext.l      D0
  619. 00000642  2600                     move.l     D3, D0
  620. 00000644  B684                     cmp.l      D3, D4
  621. 00000646  6730                     beq        +0x32 /* 00000678 */
  622. 00000648  4A84                     tst.l      D4
  623. 0000064A  6604                     bne        +0x6 /* 00000650 */
  624. 0000064C  7000                     moveq.l    D0, 0x00
  625. 0000064E  6006                     bra        +0x8 /* 00000656 */
  626. label00000650:
  627. 00000650  203C 0000 00FF           move.l     D0, 0xFF
  628. label00000656:
  629. 00000656  1540 0010                move.b     [A2 + 0x10], D0
  630. 0000065A  2EAA 0008                move.l     [A7], [A2 + 0x8]
  631. 0000065E  2F6A 000C 0004           move.l     [A7 + 0x4], [A2 + 0xC]
  632. 00000664  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  633. 00000668  4EAD DD40                jsr        [A5 - 0x22C0]
  634. 0000066C  486F 0004                pea.l      [A7 + 0x4]
  635. 00000670  A928                     syscall    InvalRect
  636. 00000672  4EAD DD48                jsr        [A5 - 0x22B8]
  637. 00000676  584F                     addq.w     A7, 4
  638. label00000678:
  639. 00000678  504F                     addq.w     A7, 8
  640. 0000067A  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  641. 0000067E  4E75                     rts
  642. 00000680  6024                     bra        +0x26 /* 000006A6 */
  643. label00000682:
  644. 00000682  206D 8D26                movea.l    A0, [A5 - 0x72DA]
  645. 00000686  4A90                     tst.l      [A0]
  646. 00000688  6612                     bne        +0x14 /* 0000069C */
  647. 0000068A  206D 8D26                movea.l    A0, [A5 - 0x72DA]
  648. 0000068E  7000                     moveq.l    D0, 0x00
  649. 00000690  A027                     syscall    ReallocateHandle
  650. 00000692  554F                     subq.w     A7, 2
  651. 00000694  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  652. 00000698  301F                     move.w     D0, [A7]+
  653. 0000069A  6610                     bne        +0x12 /* 000006AC */
  654. label0000069C:
  655. 0000069C  206D 8D26                movea.l    A0, [A5 - 0x72DA]
  656. 000006A0  A023                     syscall    DisposHandle/DisposeHandle
  657. 000006A2  42AD 8D26                clr.l      [A5 - 0x72DA]
  658. label000006A6:
  659. 000006A6  4AAD 8D26                tst.l      [A5 - 0x72DA]
  660. 000006AA  66D6                     bne        -0x28 /* 00000682 */
  661. label000006AC:
  662. 000006AC  4E75                     rts
  663. 000006AE  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  664. 000006B2  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  665. 000006B6  266F 002C                movea.l    A3, [A7 + 0x2C]
  666. 000006BA  2F6F 0030 0002           move.l     [A7 + 0x2], [A7 + 0x30]
  667. 000006C0  3F7C 0F00 000A           move.w     [A7 + 0xA], 0xF00
  668. 000006C6  7600                     moveq.l    D3, 0x00
  669. 000006C8  7E00                     moveq.l    D7, 0x00
  670. 000006CA  4EBA 0154                jsr        [PC + 0x154 /* 00000820 */]
  671. 000006CE  3800                     move.w     D4, D0
  672. 000006D0  670C                     beq        +0xE /* 000006DE */
  673. 000006D2  3004                     move.w     D0, D4
  674. 000006D4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  675. 000006D8  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  676. 000006DC  4E75                     rts
  677. label000006DE:
  678. 000006DE  4EBA 0196                jsr        [PC + 0x196 /* 00000876 */]
  679. 000006E2  486F 0034                pea.l      [A7 + 0x34]
  680. 000006E6  486F 0006                pea.l      [A7 + 0x6]
  681. 000006EA  4EBA 02D0                jsr        [PC + 0x2D0 /* 000009BC */]
  682. 000006EE  3C00                     move.w     D6, D0
  683. 000006F0  3800                     move.w     D4, D0
  684. 000006F2  7000                     moveq.l    D0, 0x00
  685. 000006F4  3004                     move.w     D0, D4
  686. 000006F6  0C80 0000 FFFF           cmpi.l     D0, 0xFFFF
  687. 000006FC  504F                     addq.w     A7, 8
  688. 000006FE  6610                     bne        +0x12 /* 00000710 */
  689. 00000700  4EBA 0158                jsr        [PC + 0x158 /* 0000085A */]
  690. 00000704  7000                     moveq.l    D0, 0x00
  691. 00000706  4FEF 000C                lea.l      A7, [A7 + 0xC]
  692. 0000070A  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  693. 0000070E  4E75                     rts
  694. label00000710:
  695. 00000710  7000                     moveq.l    D0, 0x00
  696. 00000712  3004                     move.w     D0, D4
  697. 00000714  E788                     lsl        D0, 3
  698. 00000716  206D 8D2A                movea.l    A0, [A5 - 0x72D6]
  699. 0000071A  1F70 0806 0001           move.b     [A7 + 0x1], [A0 + D0 + 0x6]
  700. 00000720  1A2F 0001                move.b     D5, [A7 + 0x1]
  701. 00000724  16C5                     move.b     [A3]+, D5
  702. 00000726  6000 00E0                bra        +0xE2 /* 00000808 */
  703. label0000072A:
  704. 0000072A  486F 0034                pea.l      [A7 + 0x34]
  705. 0000072E  486F 0006                pea.l      [A7 + 0x6]
  706. 00000732  4EBA 0288                jsr        [PC + 0x288 /* 000009BC */]
  707. 00000736  3F40 0010                move.w     [A7 + 0x10], D0
  708. 0000073A  3800                     move.w     D4, D0
  709. 0000073C  7000                     moveq.l    D0, 0x00
  710. 0000073E  3004                     move.w     D0, D4
  711. 00000740  0C80 0000 FFFF           cmpi.l     D0, 0xFFFF
  712. 00000746  504F                     addq.w     A7, 8
  713. 00000748  6700 00C6                beq        +0xC8 /* 00000810 */
  714. 0000074C  7000                     moveq.l    D0, 0x00
  715. 0000074E  3004                     move.w     D0, D4
  716. 00000750  E788                     lsl        D0, 3
  717. 00000752  246D 8D2A                movea.l    A2, [A5 - 0x72D6]
  718. 00000756  D5C0                     add.l      A2, D0
  719. 00000758  4A12                     tst.b      [A2]
  720. 0000075A  6654                     bne        +0x56 /* 000007B0 */
  721. 0000075C  1F45 0007                move.b     [A7 + 0x7], D5
  722. 00000760  3806                     move.w     D4, D6
  723. 00000762  7E01                     moveq.l    D7, 0x01
  724. 00000764  7000                     moveq.l    D0, 0x00
  725. 00000766  3004                     move.w     D0, D4
  726. 00000768  E788                     lsl        D0, 3
  727. 0000076A  246D 8D2A                movea.l    A2, [A5 - 0x72D6]
  728. 0000076E  D5C0                     add.l      A2, D0
  729. 00000770  603E                     bra        +0x40 /* 000007B0 */
  730. label00000772:
  731. 00000772  3003                     move.w     D0, D3
  732. 00000774  5243                     addq.w     D3, 1
  733. 00000776  7200                     moveq.l    D1, 0x00
  734. 00000778  3200                     move.w     D1, D0
  735. 0000077A  41ED 8D2E                lea.l      A0, [A5 - 0x72D2]
  736. 0000077E  11AA 0006 1800           move.b     [A0 + D1], [A2 + 0x6]
  737. 00000784  7000                     moveq.l    D0, 0x00
  738. 00000786  3003                     move.w     D0, D3
  739. 00000788  0C80 0000 1000           cmpi.l     D0, 0x1000
  740. 0000078E  6D10                     blt        +0x12 /* 000007A0 */
  741. 00000790  4EBA 00C8                jsr        [PC + 0xC8 /* 0000085A */]
  742. 00000794  7000                     moveq.l    D0, 0x00
  743. 00000796  4FEF 000C                lea.l      A7, [A7 + 0xC]
  744. 0000079A  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  745. 0000079E  4E75                     rts
  746. label000007A0:
  747. 000007A0  382A 0004                move.w     D4, [A2 + 0x4]
  748. 000007A4  7000                     moveq.l    D0, 0x00
  749. 000007A6  3004                     move.w     D0, D4
  750. 000007A8  E788                     lsl        D0, 3
  751. 000007AA  246D 8D2A                movea.l    A2, [A5 - 0x72D6]
  752. 000007AE  D5C0                     add.l      A2, D0
  753. label000007B0:
  754. 000007B0  7000                     moveq.l    D0, 0x00
  755. 000007B2  302A 0004                move.w     D0, [A2 + 0x4]
  756. 000007B6  0C80 0000 FFFF           cmpi.l     D0, 0xFFFF
  757. 000007BC  66B4                     bne        -0x4A /* 00000772 */
  758. 000007BE  1A2A 0006                move.b     D5, [A2 + 0x6]
  759. 000007C2  16C5                     move.b     [A3]+, D5
  760. 000007C4  600E                     bra        +0x10 /* 000007D4 */
  761. label000007C6:
  762. 000007C6  5343                     subq.w     D3, 1
  763. 000007C8  7000                     moveq.l    D0, 0x00
  764. 000007CA  3003                     move.w     D0, D3
  765. 000007CC  41ED 8D2E                lea.l      A0, [A5 - 0x72D2]
  766. 000007D0  16F0 0800                move.b     [A3]+, [A0 + D0]
  767. label000007D4:
  768. 000007D4  7000                     moveq.l    D0, 0x00
  769. 000007D6  3003                     move.w     D0, D3
  770. 000007D8  4A80                     tst.l      D0
  771. 000007DA  6EEA                     bgt        -0x14 /* 000007C6 */
  772. 000007DC  4A07                     tst.b      D7
  773. 000007DE  6708                     beq        +0xA /* 000007E8 */
  774. 000007E0  1A2F 0007                move.b     D5, [A7 + 0x7]
  775. 000007E4  16C5                     move.b     [A3]+, D5
  776. 000007E6  7E00                     moveq.l    D7, 0x00
  777. label000007E8:
  778. 000007E8  7000                     moveq.l    D0, 0x00
  779. 000007EA  302F 000A                move.w     D0, [A7 + 0xA]
  780. 000007EE  4A80                     tst.l      D0
  781. 000007F0  6F12                     ble        +0x14 /* 00000804 */
  782. 000007F2  7000                     moveq.l    D0, 0x00
  783. 000007F4  1005                     move.b     D0, D5
  784. 000007F6  3F00                     move.w     -[A7], D0
  785. 000007F8  3F06                     move.w     -[A7], D6
  786. 000007FA  4EBA 00B2                jsr        [PC + 0xB2 /* 000008AE */]
  787. 000007FE  536F 000E                subq.w     [A7 + 0xE], 1
  788. 00000802  584F                     addq.w     A7, 4
  789. label00000804:
  790. 00000804  3C2F 0008                move.w     D6, [A7 + 0x8]
  791. label00000808:
  792. 00000808  4AAF 0034                tst.l      [A7 + 0x34]
  793. 0000080C  6E00 FF1C                bgt        -0xE2 /* 0000072A */
  794. label00000810:
  795. 00000810  4EBA 0048                jsr        [PC + 0x48 /* 0000085A */]
  796. 00000814  7000                     moveq.l    D0, 0x00
  797. 00000816  4FEF 000C                lea.l      A7, [A7 + 0xC]
  798. 0000081A  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  799. 0000081E  4E75                     rts
  800. fn00000820:
  801. 00000820  554F                     subq.w     A7, 2
  802. 00000822  3B7C F000 B646           move.w     [A5 - 0x49BA], 0xF000
  803. 00000828  3B7C F000 B644           move.w     [A5 - 0x49BC], 0xF000
  804. 0000082E  4AAD 8D26                tst.l      [A5 - 0x72DA]
  805. 00000832  6620                     bne        +0x22 /* 00000854 */
  806. 00000834  4857                     pea.l      [A7]
  807. 00000836  2F3C 0000 8000           move.l     -[A7], 0x8000
  808. 0000083C  4EAD DE60                jsr        [A5 - 0x21A0]
  809. 00000840  2B48 8D26                move.l     [A5 - 0x72DA], A0
  810. 00000844  206D 8D26                movea.l    A0, [A5 - 0x72DA]
  811. 00000848  A029                     syscall    HLock
  812. 0000084A  206D 8D26                movea.l    A0, [A5 - 0x72DA]
  813. 0000084E  2B50 8D2A                move.l     [A5 - 0x72D6], [A0]
  814. 00000852  504F                     addq.w     A7, 8
  815. label00000854:
  816. 00000854  7000                     moveq.l    D0, 0x00
  817. 00000856  544F                     addq.w     A7, 2
  818. 00000858  4E75                     rts
  819. fn0000085A:
  820. 0000085A  4AAD 8D22                tst.l      [A5 - 0x72DE]
  821. 0000085E  6614                     bne        +0x16 /* 00000874 */
  822. 00000860  4AAD 8D26                tst.l      [A5 - 0x72DA]
  823. 00000864  670A                     beq        +0xC /* 00000870 */
  824. 00000866  206D 8D26                movea.l    A0, [A5 - 0x72DA]
  825. 0000086A  A023                     syscall    DisposHandle/DisposeHandle
  826. 0000086C  42AD 8D26                clr.l      [A5 - 0x72DA]
  827. label00000870:
  828. 00000870  42AD 8D2A                clr.l      [A5 - 0x72D6]
  829. label00000874:
  830. 00000874  4E75                     rts
  831. fn00000876:
  832. 00000876  2F03                     move.l     -[A7], D3
  833. 00000878  2F3C 0000 8000           move.l     -[A7], 0x8000
  834. 0000087E  42A7                     clr.l      -[A7]
  835. 00000880  2F2D 8D2A                move.l     -[A7], [A5 - 0x72D6]
  836. 00000884  4EAD D94C                jsr        [A5 - 0x26B4]
  837. 00000888  7600                     moveq.l    D3, 0x00
  838. 0000088A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  839. 0000088E  600E                     bra        +0x10 /* 0000089E */
  840. label00000890:
  841. 00000890  3F03                     move.w     -[A7], D3
  842. 00000892  3F3C FFFF                move.w     -[A7], 0xFFFF
  843. 00000896  4EBA 0016                jsr        [PC + 0x16 /* 000008AE */]
  844. 0000089A  5243                     addq.w     D3, 1
  845. 0000089C  584F                     addq.w     A7, 4
  846. label0000089E:
  847. 0000089E  7000                     moveq.l    D0, 0x00
  848. 000008A0  3003                     move.w     D0, D3
  849. 000008A2  0C80 0000 00FF           cmpi.l     D0, 0xFF
  850. 000008A8  6FE6                     ble        -0x18 /* 00000890 */
  851. 000008AA  261F                     move.l     D3, [A7]+
  852. 000008AC  4E75                     rts
  853. fn000008AE:
  854. 000008AE  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  855. 000008B2  3A2F 0014                move.w     D5, [A7 + 0x14]
  856. 000008B6  382F 0016                move.w     D4, [A7 + 0x16]
  857. 000008BA  1F3C 0001                move.b     -[A7], 0x1
  858. 000008BE  1F04                     move.b     -[A7], D4
  859. 000008C0  3F05                     move.w     -[A7], D5
  860. 000008C2  4EBA 0028                jsr        [PC + 0x28 /* 000008EC */]
  861. 000008C6  3600                     move.w     D3, D0
  862. 000008C8  7000                     moveq.l    D0, 0x00
  863. 000008CA  3003                     move.w     D0, D3
  864. 000008CC  E788                     lsl        D0, 3
  865. 000008CE  246D 8D2A                movea.l    A2, [A5 - 0x72D6]
  866. 000008D2  D5C0                     add.l      A2, D0
  867. 000008D4  14BC 0001                move.b     [A2], 0x1
  868. 000008D8  426A 0002                clr.w      [A2 + 0x2]
  869. 000008DC  3545 0004                move.w     [A2 + 0x4], D5
  870. 000008E0  1544 0006                move.b     [A2 + 0x6], D4
  871. 000008E4  5C4F                     addq.w     A7, 6
  872. 000008E6  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  873. 000008EA  4E75                     rts
  874. fn000008EC:
  875. 000008EC  48E7 1820                movem.l    -[A7], D3,D4,A2
  876. 000008F0  1F2F 0012                move.b     -[A7], [A7 + 0x12]
  877. 000008F4  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  878. 000008F8  4EBA 0092                jsr        [PC + 0x92 /* 0000098C */]
  879. 000008FC  3800                     move.w     D4, D0
  880. 000008FE  7000                     moveq.l    D0, 0x00
  881. 00000900  3004                     move.w     D0, D4
  882. 00000902  E788                     lsl        D0, 3
  883. 00000904  206D 8D2A                movea.l    A0, [A5 - 0x72D6]
  884. 00000908  4A30 0800                tst.b      [A0 + D0]
  885. 0000090C  584F                     addq.w     A7, 4
  886. 0000090E  6608                     bne        +0xA /* 00000918 */
  887. 00000910  3004                     move.w     D0, D4
  888. 00000912  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  889. 00000916  4E75                     rts
  890. label00000918:
  891. 00000918  3F04                     move.w     -[A7], D4
  892. 0000091A  4EBA 0054                jsr        [PC + 0x54 /* 00000970 */]
  893. 0000091E  3800                     move.w     D4, D0
  894. 00000920  7600                     moveq.l    D3, 0x00
  895. 00000922  3604                     move.w     D3, D4
  896. 00000924  7265                     moveq.l    D1, 0x65
  897. 00000926  D681                     add.l      D3, D1
  898. 00000928  0283 0000 0FFF           andi.l     D3, 0xFFF
  899. 0000092E  7000                     moveq.l    D0, 0x00
  900. 00000930  3003                     move.w     D0, D3
  901. 00000932  E788                     lsl        D0, 3
  902. 00000934  246D 8D2A                movea.l    A2, [A5 - 0x72D6]
  903. 00000938  D5C0                     add.l      A2, D0
  904. 0000093A  544F                     addq.w     A7, 2
  905. 0000093C  6012                     bra        +0x14 /* 00000950 */
  906. label0000093E:
  907. 0000093E  5243                     addq.w     D3, 1
  908. 00000940  0C43 1000                cmpi.w     D3, 0x1000
  909. 00000944  6608                     bne        +0xA /* 0000094E */
  910. 00000946  7600                     moveq.l    D3, 0x00
  911. 00000948  246D 8D2A                movea.l    A2, [A5 - 0x72D6]
  912. 0000094C  6002                     bra        +0x4 /* 00000950 */
  913. label0000094E:
  914. 0000094E  508A                     addq.l     A2, 8
  915. label00000950:
  916. 00000950  4A12                     tst.b      [A2]
  917. 00000952  66EA                     bne        -0x14 /* 0000093E */
  918. 00000954  4A2F 0014                tst.b      [A7 + 0x14]
  919. 00000958  670E                     beq        +0x10 /* 00000968 */
  920. 0000095A  7000                     moveq.l    D0, 0x00
  921. 0000095C  3004                     move.w     D0, D4
  922. 0000095E  E788                     lsl        D0, 3
  923. 00000960  206D 8D2A                movea.l    A0, [A5 - 0x72D6]
  924. 00000964  3183 0802                move.w     [A0 + D0 + 0x2], D3
  925. label00000968:
  926. 00000968  3003                     move.w     D0, D3
  927. 0000096A  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  928. 0000096E  4E75                     rts
  929. fn00000970:
  930. 00000970  322F 0004                move.w     D1, [A7 + 0x4]
  931. 00000974  6002                     bra        +0x4 /* 00000978 */
  932. label00000976:
  933. 00000976  3202                     move.w     D1, D2
  934. label00000978:
  935. 00000978  7000                     moveq.l    D0, 0x00
  936. 0000097A  3001                     move.w     D0, D1
  937. 0000097C  E788                     lsl        D0, 3
  938. 0000097E  206D 8D2A                movea.l    A0, [A5 - 0x72D6]
  939. 00000982  3430 0802                move.w     D2, [A0 + D0 + 0x2]
  940. 00000986  66EE                     bne        -0x10 /* 00000976 */
  941. 00000988  3001                     move.w     D0, D1
  942. 0000098A  4E75                     rts
  943. fn0000098C:
  944. 0000098C  2F03                     move.l     -[A7], D3
  945. 0000098E  7000                     moveq.l    D0, 0x00
  946. 00000990  102F 000A                move.b     D0, [A7 + 0xA]
  947. 00000994  7600                     moveq.l    D3, 0x00
  948. 00000996  362F 0008                move.w     D3, [A7 + 0x8]
  949. 0000099A  D680                     add.l      D3, D0
  950. 0000099C  0283 0000 FFFF           andi.l     D3, 0xFFFF
  951. 000009A2  0083 0000 0800           ori.l      D3, 0x800
  952. 000009A8  2003                     move.l     D0, D3
  953. 000009AA  2203                     move.l     D1, D3
  954. 000009AC  4EAD D8F8                jsr        [A5 - 0x2708]
  955. 000009B0  EC88                     lsr        D0, 6
  956. 000009B2  0280 0000 0FFF           andi.l     D0, 0xFFF
  957. 000009B8  261F                     move.l     D3, [A7]+
  958. 000009BA  4E75                     rts
  959. fn000009BC:
  960. 000009BC  48E7 0C08                movem.l    -[A7], D4,D5,A4
  961. 000009C0  286F 0010                movea.l    A4, [A7 + 0x10]
  962. 000009C4  226F 0014                movea.l    A1, [A7 + 0x14]
  963. 000009C8  383C FFFF                move.w     D4, 0xFFFF
  964. 000009CC  2054                     movea.l    A0, [A4]
  965. 000009CE  2A11                     move.l     D5, [A1]
  966. 000009D0  4A85                     tst.l      D5
  967. 000009D2  6F72                     ble        +0x74 /* 00000A46 */
  968. 000009D4  7000                     moveq.l    D0, 0x00
  969. 000009D6  302D B644                move.w     D0, [A5 - 0x49BC]
  970. 000009DA  0C80 0000 F000           cmpi.l     D0, 0xF000
  971. 000009E0  6640                     bne        +0x42 /* 00000A22 */
  972. 000009E2  7400                     moveq.l    D2, 0x00
  973. 000009E4  1418                     move.b     D2, [A0]+
  974. 000009E6  5385                     subq.l     D5, 1
  975. 000009E8  0242 00FF                andi.w     D2, 0xFF
  976. 000009EC  4A85                     tst.l      D5
  977. 000009EE  6F56                     ble        +0x58 /* 00000A46 */
  978. 000009F0  7000                     moveq.l    D0, 0x00
  979. 000009F2  1018                     move.b     D0, [A0]+
  980. 000009F4  3B40 B644                move.w     [A5 - 0x49BC], D0
  981. 000009F8  5385                     subq.l     D5, 1
  982. 000009FA  026D 00FF B644           andi.w     [A5 - 0x49BC], 0xFF
  983. 00000A00  780F                     moveq.l    D4, 0x0F
  984. 00000A02  7200                     moveq.l    D1, 0x00
  985. 00000A04  322D B644                move.w     D1, [A5 - 0x49BC]
  986. 00000A08  E881                     asr        D1, 4
  987. 00000A0A  C284                     and.l      D1, D4
  988. 00000A0C  7800                     moveq.l    D4, 0x00
  989. 00000A0E  3802                     move.w     D4, D2
  990. 00000A10  E98C                     lsl        D4, 4
  991. 00000A12  0284 0000 0FF0           andi.l     D4, 0xFF0
  992. 00000A18  D881                     add.l      D4, D1
  993. 00000A1A  026D 000F B644           andi.w     [A5 - 0x49BC], 0xF
  994. 00000A20  6024                     bra        +0x26 /* 00000A46 */
  995. label00000A22:
  996. 00000A22  7400                     moveq.l    D2, 0x00
  997. 00000A24  1418                     move.b     D2, [A0]+
  998. 00000A26  5385                     subq.l     D5, 1
  999. 00000A28  0242 00FF                andi.w     D2, 0xFF
  1000. 00000A2C  7000                     moveq.l    D0, 0x00
  1001. 00000A2E  302D B644                move.w     D0, [A5 - 0x49BC]
  1002. 00000A32  E188                     lsl        D0, 8
  1003. 00000A34  0280 0000 0F00           andi.l     D0, 0xF00
  1004. 00000A3A  7800                     moveq.l    D4, 0x00
  1005. 00000A3C  3802                     move.w     D4, D2
  1006. 00000A3E  D880                     add.l      D4, D0
  1007. 00000A40  3B7C F000 B644           move.w     [A5 - 0x49BC], 0xF000
  1008. label00000A46:
  1009. 00000A46  2888                     move.l     [A4], A0
  1010. 00000A48  2285                     move.l     [A1], D5
  1011. 00000A4A  3004                     move.w     D0, D4
  1012. 00000A4C  4CDF 1030                movem.l    D4,D5,A4, [A7]+
  1013. 00000A50  4E75                     rts
  1014. 00000A52  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  1015. 00000A56  4297                     clr.l      [A7]
  1016. 00000A58  42AF 0004                clr.l      [A7 + 0x4]
  1017. 00000A5C  42AF 0008                clr.l      [A7 + 0x8]
  1018. 00000A60  4857                     pea.l      [A7]
  1019. 00000A62  486F 0008                pea.l      [A7 + 0x8]
  1020. 00000A66  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  1021. 00000A6A  4EAD DBF2                jsr        [A5 - 0x240E]
  1022. 00000A6E  4A80                     tst.l      D0
  1023. 00000A70  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1024. 00000A74  6734                     beq        +0x36 /* 00000AAA */
  1025. 00000A76  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  1026. 00000A7A  486F 0008                pea.l      [A7 + 0x8]
  1027. 00000A7E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  1028. 00000A82  486D E938                pea.l      [A5 - 0x16C8]
  1029. 00000A86  42A7                     clr.l      -[A7]
  1030. 00000A88  4EAD DC28                jsr        [A5 - 0x23D8]
  1031. 00000A8C  4AAD B0CE                tst.l      [A5 - 0x4F32]
  1032. 00000A90  6618                     bne        +0x1A /* 00000AAA */
  1033. 00000A92  42AD B0D2                clr.l      [A5 - 0x4F2E]
  1034. 00000A96  302D 135E                move.w     D0, [A5 + 0x135E]
  1035. 00000A9A  48C0                     ext.l      D0
  1036. 00000A9C  0680 0000 0094           addi.l     D0, 0x94
  1037. 00000AA2  3F00                     move.w     -[A7], D0
  1038. 00000AA4  4EAD DB68                jsr        [A5 - 0x2498]
  1039. 00000AA8  544F                     addq.w     A7, 2
  1040. label00000AAA:
  1041. 00000AAA  4AAF 0008                tst.l      [A7 + 0x8]
  1042. 00000AAE  6706                     beq        +0x8 /* 00000AB6 */
  1043. 00000AB0  206F 0008                movea.l    A0, [A7 + 0x8]
  1044. 00000AB4  A023                     syscall    DisposHandle/DisposeHandle
  1045. label00000AB6:
  1046. 00000AB6  4AAF 0004                tst.l      [A7 + 0x4]
  1047. 00000ABA  6706                     beq        +0x8 /* 00000AC2 */
  1048. 00000ABC  206F 0004                movea.l    A0, [A7 + 0x4]
  1049. 00000AC0  A023                     syscall    DisposHandle/DisposeHandle
  1050. label00000AC2:
  1051. 00000AC2  4A97                     tst.l      [A7]
  1052. 00000AC4  6704                     beq        +0x6 /* 00000ACA */
  1053. 00000AC6  2057                     movea.l    A0, [A7]
  1054. 00000AC8  A023                     syscall    DisposHandle/DisposeHandle
  1055. label00000ACA:
  1056. 00000ACA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1057. 00000ACE  205F                     movea.l    A0, [A7]+
  1058. 00000AD0  504F                     addq.w     A7, 8
  1059. 00000AD2  4ED0                     jmp        [A0]
  1060. 00000AD4  42A7                     clr.l      -[A7]
  1061. 00000AD6  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  1062. 00000ADA  4EAD DB74                jsr        [A5 - 0x248C]
  1063. 00000ADE  504F                     addq.w     A7, 8
  1064. 00000AE0  4E75                     rts
  1065. 00000AE2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1066. 00000AE6  594F                     subq.w     A7, 4
  1067. 00000AE8  2E2F 002C                move.l     D7, [A7 + 0x2C]
  1068. 00000AEC  2A2F 0030                move.l     D5, [A7 + 0x30]
  1069. 00000AF0  4297                     clr.l      [A7]
  1070. 00000AF2  4EAD DB8C                jsr        [A5 - 0x2474]
  1071. 00000AF6  4A80                     tst.l      D0
  1072. 00000AF8  660A                     bne        +0xC /* 00000B04 */
  1073. 00000AFA  91C8                     sub.l      A0, A0
  1074. 00000AFC  584F                     addq.w     A7, 4
  1075. 00000AFE  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1076. 00000B02  4E75                     rts
  1077. label00000B04:
  1078. 00000B04  1F3C 0005                move.b     -[A7], 0x5
  1079. 00000B08  1F3C 0006                move.b     -[A7], 0x6
  1080. 00000B0C  2F07                     move.l     -[A7], D7
  1081. 00000B0E  4EAD E818                jsr        [A5 - 0x17E8]
  1082. 00000B12  5C4F                     addq.w     A7, 6
  1083. 00000B14  3F10                     move.w     -[A7], [A0]
  1084. 00000B16  4EAD E708                jsr        [A5 - 0x18F8]
  1085. 00000B1A  2C08                     move.l     D6, A0
  1086. 00000B1C  4AAF 0038                tst.l      [A7 + 0x38]
  1087. 00000B20  584F                     addq.w     A7, 4
  1088. 00000B22  6772                     beq        +0x74 /* 00000B96 */
  1089. 00000B24  9DCE                     sub.l      A6, A6
  1090. 00000B26  594F                     subq.w     A7, 4
  1091. 00000B28  2F06                     move.l     -[A7], D6
  1092. 00000B2A  4EAD D9AC                jsr        [A5 - 0x2654]
  1093. 00000B2E  201F                     move.l     D0, [A7]+
  1094. 00000B30  E488                     lsr        D0, 2
  1095. 00000B32  2800                     move.l     D4, D0
  1096. 00000B34  2F06                     move.l     -[A7], D6
  1097. 00000B36  4EAD DD80                jsr        [A5 - 0x2280]
  1098. 00000B3A  2448                     movea.l    A2, A0
  1099. 00000B3C  7600                     moveq.l    D3, 0x00
  1100. 00000B3E  584F                     addq.w     A7, 4
  1101. 00000B40  6036                     bra        +0x38 /* 00000B78 */
  1102. label00000B42:
  1103. 00000B42  4A92                     tst.l      [A2]
  1104. 00000B44  672E                     beq        +0x30 /* 00000B74 */
  1105. 00000B46  2052                     movea.l    A0, [A2]
  1106. 00000B48  2650                     movea.l    A3, [A0]
  1107. 00000B4A  4AAB 0010                tst.l      [A3 + 0x10]
  1108. 00000B4E  6724                     beq        +0x26 /* 00000B74 */
  1109. 00000B50  286B 0010                movea.l    A4, [A3 + 0x10]
  1110. 00000B54  2F05                     move.l     -[A7], D5
  1111. 00000B56  2F0C                     move.l     -[A7], A4
  1112. 00000B58  4EAD DD80                jsr        [A5 - 0x2280]
  1113. 00000B5C  584F                     addq.w     A7, 4
  1114. 00000B5E  2F08                     move.l     -[A7], A0
  1115. 00000B60  4EAD E458                jsr        [A5 - 0x1BA8]
  1116. 00000B64  4A80                     tst.l      D0
  1117. 00000B66  504F                     addq.w     A7, 8
  1118. 00000B68  6602                     bne        +0x4 /* 00000B6C */
  1119. 00000B6A  2C52                     movea.l    A6, [A2]
  1120. label00000B6C:
  1121. 00000B6C  2F0C                     move.l     -[A7], A4
  1122. 00000B6E  4EAD DD88                jsr        [A5 - 0x2278]
  1123. 00000B72  584F                     addq.w     A7, 4
  1124. label00000B74:
  1125. 00000B74  5283                     addq.l     D3, 1
  1126. 00000B76  588A                     addq.l     A2, 4
  1127. label00000B78:
  1128. 00000B78  B684                     cmp.l      D3, D4
  1129. 00000B7A  6C04                     bge        +0x6 /* 00000B80 */
  1130. 00000B7C  200E                     move.l     D0, A6
  1131. 00000B7E  67C2                     beq        -0x3C /* 00000B42 */
  1132. label00000B80:
  1133. 00000B80  2F06                     move.l     -[A7], D6
  1134. 00000B82  4EAD DD88                jsr        [A5 - 0x2278]
  1135. 00000B86  200E                     move.l     D0, A6
  1136. 00000B88  584F                     addq.w     A7, 4
  1137. 00000B8A  670A                     beq        +0xC /* 00000B96 */
  1138. 00000B8C  204E                     movea.l    A0, A6
  1139. 00000B8E  584F                     addq.w     A7, 4
  1140. 00000B90  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1141. 00000B94  4E75                     rts
  1142. label00000B96:
  1143. 00000B96  4857                     pea.l      [A7]
  1144. 00000B98  2F05                     move.l     -[A7], D5
  1145. 00000B9A  2F07                     move.l     -[A7], D7
  1146. 00000B9C  4EAD F488                jsr        [A5 - 0xB78]
  1147. 00000BA0  4A40                     tst.w      D0
  1148. 00000BA2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1149. 00000BA6  670A                     beq        +0xC /* 00000BB2 */
  1150. 00000BA8  91C8                     sub.l      A0, A0
  1151. 00000BAA  584F                     addq.w     A7, 4
  1152. 00000BAC  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1153. 00000BB0  4E75                     rts
  1154. label00000BB2:
  1155. 00000BB2  41D7                     lea.l      A0, [A7]
  1156. 00000BB4  2246                     movea.l    A1, D6
  1157. 00000BB6  7004                     moveq.l    D0, 0x04
  1158. 00000BB8  A9EF                     syscall    PtrAndHand
  1159. 00000BBA  4A40                     tst.w      D0
  1160. 00000BBC  6710                     beq        +0x12 /* 00000BCE */
  1161. 00000BBE  2F17                     move.l     -[A7], [A7]
  1162. 00000BC0  4EAD F490                jsr        [A5 - 0xB70]
  1163. 00000BC4  91C8                     sub.l      A0, A0
  1164. 00000BC6  504F                     addq.w     A7, 8
  1165. 00000BC8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1166. 00000BCC  4E75                     rts
  1167. label00000BCE:
  1168. 00000BCE  2057                     movea.l    A0, [A7]
  1169. 00000BD0  584F                     addq.w     A7, 4
  1170. 00000BD2  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1171. 00000BD6  4E75                     rts
  1172. fn00000BD8:
  1173. 00000BD8  48E7 1820                movem.l    -[A7], D3,D4,A2
  1174. 00000BDC  282F 0010                move.l     D4, [A7 + 0x10]
  1175. 00000BE0  162F 0014                move.b     D3, [A7 + 0x14]
  1176. 00000BE4  594F                     subq.w     A7, 4
  1177. 00000BE6  2EB8 09D6                move.l     [A7], [0x000009D6 /* WindowList */]
  1178. 00000BEA  205F                     movea.l    A0, [A7]+
  1179. 00000BEC  2448                     movea.l    A2, A0
  1180. 00000BEE  6032                     bra        +0x34 /* 00000C22 */
  1181. label00000BF0:
  1182. 00000BF0  302A 006C                move.w     D0, [A2 + 0x6C]
  1183. 00000BF4  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  1184. 00000BF8  6624                     bne        +0x26 /* 00000C1E */
  1185. 00000BFA  2F0A                     move.l     -[A7], A2
  1186. 00000BFC  4EAD E848                jsr        [A5 - 0x17B8]
  1187. 00000C00  B600                     cmp.b      D3, D0
  1188. 00000C02  584F                     addq.w     A7, 4
  1189. 00000C04  6618                     bne        +0x1A /* 00000C1E */
  1190. 00000C06  1F3C 000F                move.b     -[A7], 0xF
  1191. 00000C0A  2F0A                     move.l     -[A7], A2
  1192. 00000C0C  4EAD E818                jsr        [A5 - 0x17E8]
  1193. 00000C10  B890                     cmp.l      D4, [A0]
  1194. 00000C12  5C4F                     addq.w     A7, 6
  1195. 00000C14  6608                     bne        +0xA /* 00000C1E */
  1196. 00000C16  2F0A                     move.l     -[A7], A2
  1197. 00000C18  4EAD DF80                jsr        [A5 - 0x2080]
  1198. 00000C1C  6008                     bra        +0xA /* 00000C26 */
  1199. label00000C1E:
  1200. 00000C1E  246A 0090                movea.l    A2, [A2 + 0x90]
  1201. label00000C22:
  1202. 00000C22  200A                     move.l     D0, A2
  1203. 00000C24  66CA                     bne        -0x34 /* 00000BF0 */
  1204. label00000C26:
  1205. 00000C26  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  1206. 00000C2A  4E75                     rts
  1207. fn00000C2C:
  1208. 00000C2C  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1209. 00000C30  514F                     subq.w     A7, 8
  1210. 00000C32  2C6F 0034                movea.l    A6, [A7 + 0x34]
  1211. 00000C36  2A2F 0038                move.l     D5, [A7 + 0x38]
  1212. 00000C3A  286F 003C                movea.l    A4, [A7 + 0x3C]
  1213. 00000C3E  2E2F 0046                move.l     D7, [A7 + 0x46]
  1214. 00000C42  2C2F 004A                move.l     D6, [A7 + 0x4A]
  1215. 00000C46  246F 0030                movea.l    A2, [A7 + 0x30]
  1216. 00000C4A  1F3C 0005                move.b     -[A7], 0x5
  1217. 00000C4E  2F0A                     move.l     -[A7], A2
  1218. 00000C50  4EAD E818                jsr        [A5 - 0x17E8]
  1219. 00000C54  2648                     movea.l    A3, A0
  1220. 00000C56  42AF 000A                clr.l      [A7 + 0xA]
  1221. 00000C5A  42AF 0006                clr.l      [A7 + 0x6]
  1222. 00000C5E  204E                     movea.l    A0, A6
  1223. 00000C60  70FF                     moveq.l    D0, 0xFFFFFFFF
  1224. label00000C62:
  1225. 00000C62  5280                     addq.l     D0, 1
  1226. 00000C64  4A18                     tst.b      [A0]+
  1227. 00000C66  66FA                     bne        -0x4 /* 00000C62 */
  1228. 00000C68  2800                     move.l     D4, D0
  1229. 00000C6A  4A2F 004A                tst.b      [A7 + 0x4A]
  1230. 00000C6E  56C0                     sne        D0
  1231. 00000C70  4400                     neg.b      D0
  1232. 00000C72  4880                     ext.w      D0
  1233. 00000C74  48C0                     ext.l      D0
  1234. 00000C76  2600                     move.l     D3, D0
  1235. 00000C78  2F0A                     move.l     -[A7], A2
  1236. 00000C7A  4EAD DD40                jsr        [A5 - 0x22C0]
  1237. 00000C7E  2F0A                     move.l     -[A7], A2
  1238. 00000C80  4EAD E848                jsr        [A5 - 0x17B8]
  1239. 00000C84  5300                     subq.b     D0, 1
  1240. 00000C86  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1241. 00000C8A  6604                     bne        +0x6 /* 00000C90 */
  1242. 00000C8C  4A83                     tst.l      D3
  1243. 00000C8E  6708                     beq        +0xA /* 00000C98 */
  1244. label00000C90:
  1245. 00000C90  42A7                     clr.l      -[A7]
  1246. 00000C92  4EBA 09A2                jsr        [PC + 0x9A2 /* 00001636 */]
  1247. 00000C96  584F                     addq.w     A7, 4
  1248. label00000C98:
  1249. 00000C98  4A84                     tst.l      D4
  1250. 00000C9A  6744                     beq        +0x46 /* 00000CE0 */
  1251. 00000C9C  7000                     moveq.l    D0, 0x00
  1252. 00000C9E  102B 0006                move.b     D0, [A3 + 0x6]
  1253. 00000CA2  B084                     cmp.l      D0, D4
  1254. 00000CA4  6616                     bne        +0x18 /* 00000CBC */
  1255. 00000CA6  2F04                     move.l     -[A7], D4
  1256. 00000CA8  2F0E                     move.l     -[A7], A6
  1257. 00000CAA  7006                     moveq.l    D0, 0x06
  1258. 00000CAC  4873 0801                pea.l      [A3 + D0 + 0x1]
  1259. 00000CB0  4EAD E460                jsr        [A5 - 0x1BA0]
  1260. 00000CB4  4A80                     tst.l      D0
  1261. 00000CB6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1262. 00000CBA  6724                     beq        +0x26 /* 00000CE0 */
  1263. label00000CBC:
  1264. 00000CBC  0C2F 0002 0044           cmpi.b     [A7 + 0x44], 0x2
  1265. 00000CC2  57C0                     seq        D0
  1266. 00000CC4  4400                     neg.b      D0
  1267. 00000CC6  4880                     ext.w      D0
  1268. 00000CC8  48C0                     ext.l      D0
  1269. 00000CCA  2F00                     move.l     -[A7], D0
  1270. 00000CCC  2F03                     move.l     -[A7], D3
  1271. 00000CCE  2F0C                     move.l     -[A7], A4
  1272. 00000CD0  2F0E                     move.l     -[A7], A6
  1273. 00000CD2  2F0A                     move.l     -[A7], A2
  1274. 00000CD4  2F0B                     move.l     -[A7], A3
  1275. 00000CD6  4EBA 037A                jsr        [PC + 0x37A /* 00001052 */]
  1276. 00000CDA  2448                     movea.l    A2, A0
  1277. 00000CDC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1278. label00000CE0:
  1279. 00000CE0  200A                     move.l     D0, A2
  1280. 00000CE2  6700 00BA                beq        +0xBC /* 00000D9E */
  1281. 00000CE6  1F3C 0006                move.b     -[A7], 0x6
  1282. 00000CEA  2F0A                     move.l     -[A7], A2
  1283. 00000CEC  4EAD E818                jsr        [A5 - 0x17E8]
  1284. 00000CF0  3810                     move.w     D4, [A0]
  1285. 00000CF2  4A85                     tst.l      D5
  1286. 00000CF4  5C4F                     addq.w     A7, 6
  1287. 00000CF6  6C3A                     bge        +0x3C /* 00000D32 */
  1288. 00000CF8  4AAF 0040                tst.l      [A7 + 0x40]
  1289. 00000CFC  671A                     beq        +0x1C /* 00000D18 */
  1290. 00000CFE  42A7                     clr.l      -[A7]
  1291. 00000D00  486F 0004                pea.l      [A7 + 0x4]
  1292. 00000D04  486F 000C                pea.l      [A7 + 0xC]
  1293. 00000D08  2F2F 004C                move.l     -[A7], [A7 + 0x4C]
  1294. 00000D0C  3F04                     move.w     -[A7], D4
  1295. 00000D0E  4EAD E1A0                jsr        [A5 - 0x1E60]
  1296. 00000D12  4FEF 0012                lea.l      A7, [A7 + 0x12]
  1297. 00000D16  6030                     bra        +0x32 /* 00000D48 */
  1298. label00000D18:
  1299. 00000D18  1F3C 0004                move.b     -[A7], 0x4
  1300. 00000D1C  2F0A                     move.l     -[A7], A2
  1301. 00000D1E  4EAD E818                jsr        [A5 - 0x17E8]
  1302. 00000D22  2648                     movea.l    A3, A0
  1303. 00000D24  2F53 000A                move.l     [A7 + 0xA], [A3]
  1304. 00000D28  2F6B 0004 0006           move.l     [A7 + 0x6], [A3 + 0x4]
  1305. 00000D2E  5C4F                     addq.w     A7, 6
  1306. 00000D30  6016                     bra        +0x18 /* 00000D48 */
  1307. label00000D32:
  1308. 00000D32  4A85                     tst.l      D5
  1309. 00000D34  6F12                     ble        +0x14 /* 00000D48 */
  1310. 00000D36  4857                     pea.l      [A7]
  1311. 00000D38  486F 0008                pea.l      [A7 + 0x8]
  1312. 00000D3C  2F05                     move.l     -[A7], D5
  1313. 00000D3E  3F04                     move.w     -[A7], D4
  1314. 00000D40  4EAD E218                jsr        [A5 - 0x1DE8]
  1315. 00000D44  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1316. label00000D48:
  1317. 00000D48  4A14                     tst.b      [A4]
  1318. 00000D4A  672C                     beq        +0x2E /* 00000D78 */
  1319. 00000D4C  2F0C                     move.l     -[A7], A4
  1320. 00000D4E  1F3C 0006                move.b     -[A7], 0x6
  1321. 00000D52  2F0A                     move.l     -[A7], A2
  1322. 00000D54  4EAD E818                jsr        [A5 - 0x17E8]
  1323. 00000D58  5C4F                     addq.w     A7, 6
  1324. 00000D5A  3F10                     move.w     -[A7], [A0]
  1325. 00000D5C  4EAD E2F0                jsr        [A5 - 0x1D10]
  1326. 00000D60  5C4F                     addq.w     A7, 6
  1327. 00000D62  2F00                     move.l     -[A7], D0
  1328. 00000D64  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1329. 00000D68  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  1330. 00000D6C  2F0A                     move.l     -[A7], A2
  1331. 00000D6E  4EBA 104E                jsr        [PC + 0x104E /* 00001DBE */]
  1332. 00000D72  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1333. 00000D76  601A                     bra        +0x1C /* 00000D92 */
  1334. label00000D78:
  1335. 00000D78  4A83                     tst.l      D3
  1336. 00000D7A  6716                     beq        +0x18 /* 00000D92 */
  1337. 00000D7C  42A7                     clr.l      -[A7]
  1338. 00000D7E  42A7                     clr.l      -[A7]
  1339. 00000D80  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  1340. 00000D84  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  1341. 00000D88  2F0A                     move.l     -[A7], A2
  1342. 00000D8A  4EBA 17EA                jsr        [PC + 0x17EA /* 00002576 */]
  1343. 00000D8E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1344. label00000D92:
  1345. 00000D92  4A83                     tst.l      D3
  1346. 00000D94  6708                     beq        +0xA /* 00000D9E */
  1347. 00000D96  2F0A                     move.l     -[A7], A2
  1348. 00000D98  206D 133E                movea.l    A0, [A5 + 0x133E]
  1349. 00000D9C  4E90                     jsr        [A0]
  1350. label00000D9E:
  1351. 00000D9E  4EAD DD48                jsr        [A5 - 0x22B8]
  1352. 00000DA2  4A87                     tst.l      D7
  1353. 00000DA4  6704                     beq        +0x6 /* 00000DAA */
  1354. 00000DA6  2047                     movea.l    A0, D7
  1355. 00000DA8  208A                     move.l     [A0], A2
  1356. label00000DAA:
  1357. 00000DAA  4A86                     tst.l      D6
  1358. 00000DAC  6706                     beq        +0x8 /* 00000DB4 */
  1359. 00000DAE  2046                     movea.l    A0, D6
  1360. 00000DB0  20AF 0004                move.l     [A0], [A7 + 0x4]
  1361. label00000DB4:
  1362. 00000DB4  504F                     addq.w     A7, 8
  1363. 00000DB6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1364. 00000DBA  4E75                     rts
  1365. 00000DBC  48E7 0030                movem.l    -[A7], A2,A3
  1366. 00000DC0  246D 9D32                movea.l    A2, [A5 - 0x62CE]
  1367. 00000DC4  600A                     bra        +0xC /* 00000DD0 */
  1368. label00000DC6:
  1369. 00000DC6  2052                     movea.l    A0, [A2]
  1370. 00000DC8  2650                     movea.l    A3, [A0]
  1371. 00000DCA  204A                     movea.l    A0, A2
  1372. 00000DCC  A023                     syscall    DisposHandle/DisposeHandle
  1373. 00000DCE  244B                     movea.l    A2, A3
  1374. label00000DD0:
  1375. 00000DD0  200A                     move.l     D0, A2
  1376. 00000DD2  66F2                     bne        -0xC /* 00000DC6 */
  1377. 00000DD4  42AD 9D32                clr.l      [A5 - 0x62CE]
  1378. 00000DD8  4CDF 0C00                movem.l    A2,A3, [A7]+
  1379. 00000DDC  4E75                     rts
  1380. 00000DDE  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  1381. 00000DE2  2C6F 0014                movea.l    A6, [A7 + 0x14]
  1382. 00000DE6  246D 9D3E                movea.l    A2, [A5 - 0x62C2]
  1383. 00000DEA  6026                     bra        +0x28 /* 00000E12 */
  1384. label00000DEC:
  1385. 00000DEC  2652                     movea.l    A3, [A2]
  1386. 00000DEE  2853                     movea.l    A4, [A3]
  1387. 00000DF0  BDEB 0008                cmpa.l     A6, [A3 + 0x8]
  1388. 00000DF4  661A                     bne        +0x1C /* 00000E10 */
  1389. 00000DF6  4AAB 000C                tst.l      [A3 + 0xC]
  1390. 00000DFA  6706                     beq        +0x8 /* 00000E02 */
  1391. 00000DFC  206B 000C                movea.l    A0, [A3 + 0xC]
  1392. 00000E00  A023                     syscall    DisposHandle/DisposeHandle
  1393. label00000E02:
  1394. 00000E02  2F0A                     move.l     -[A7], A2
  1395. 00000E04  4EBA 014A                jsr        [PC + 0x14A /* 00000F50 */]
  1396. 00000E08  2F0A                     move.l     -[A7], A2
  1397. 00000E0A  4EBA 018A                jsr        [PC + 0x18A /* 00000F96 */]
  1398. 00000E0E  504F                     addq.w     A7, 8
  1399. label00000E10:
  1400. 00000E10  244C                     movea.l    A2, A4
  1401. label00000E12:
  1402. 00000E12  200A                     move.l     D0, A2
  1403. 00000E14  66D6                     bne        -0x28 /* 00000DEC */
  1404. 00000E16  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  1405. 00000E1A  4E75                     rts
  1406. fn00000E1C:
  1407. 00000E1C  48E7 0030                movem.l    -[A7], A2,A3
  1408. 00000E20  4AAD 9D2E                tst.l      [A5 - 0x62D2]
  1409. 00000E24  6642                     bne        +0x44 /* 00000E68 */
  1410. 00000E26  52AD 9D2E                addq.l     [A5 - 0x62D2], 1
  1411. 00000E2A  6030                     bra        +0x32 /* 00000E5C */
  1412. label00000E2C:
  1413. 00000E2C  2B4A 9D3A                move.l     [A5 - 0x62C6], A2
  1414. 00000E30  2652                     movea.l    A3, [A2]
  1415. 00000E32  2F2B 0010                move.l     -[A7], [A3 + 0x10]
  1416. 00000E36  1F2B 0014                move.b     -[A7], [A3 + 0x14]
  1417. 00000E3A  2F2B 000C                move.l     -[A7], [A3 + 0xC]
  1418. 00000E3E  2F2B 0008                move.l     -[A7], [A3 + 0x8]
  1419. 00000E42  4EBA 01A6                jsr        [PC + 0x1A6 /* 00000FEA */]
  1420. 00000E46  2B6D 9D36 9D3A           move.l     [A5 - 0x62C6], [A5 - 0x62CA]
  1421. 00000E4C  2F0A                     move.l     -[A7], A2
  1422. 00000E4E  4EBA 0100                jsr        [PC + 0x100 /* 00000F50 */]
  1423. 00000E52  2F0A                     move.l     -[A7], A2
  1424. 00000E54  4EBA 0140                jsr        [PC + 0x140 /* 00000F96 */]
  1425. 00000E58  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1426. label00000E5C:
  1427. 00000E5C  246D 9D3E                movea.l    A2, [A5 - 0x62C2]
  1428. 00000E60  200A                     move.l     D0, A2
  1429. 00000E62  66C8                     bne        -0x36 /* 00000E2C */
  1430. 00000E64  53AD 9D2E                subq.l     [A5 - 0x62D2], 1
  1431. label00000E68:
  1432. 00000E68  4CDF 0C00                movem.l    A2,A3, [A7]+
  1433. 00000E6C  4E75                     rts
  1434. 00000E6E  4AAF 0008                tst.l      [A7 + 0x8]
  1435. 00000E72  670E                     beq        +0x10 /* 00000E82 */
  1436. 00000E74  554F                     subq.w     A7, 2
  1437. 00000E76  486F 000A                pea.l      [A7 + 0xA]
  1438. 00000E7A  4EAD DA30                jsr        [A5 - 0x25D0]
  1439. 00000E7E  301F                     move.w     D0, [A7]+
  1440. 00000E80  6618                     bne        +0x1A /* 00000E9A */
  1441. label00000E82:
  1442. 00000E82  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  1443. 00000E86  1F2F 0010                move.b     -[A7], [A7 + 0x10]
  1444. 00000E8A  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  1445. 00000E8E  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  1446. 00000E92  4EBA 0156                jsr        [PC + 0x156 /* 00000FEA */]
  1447. 00000E96  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1448. label00000E9A:
  1449. 00000E9A  4E75                     rts
  1450. fn00000E9C:
  1451. 00000E9C  48E7 0030                movem.l    -[A7], A2,A3
  1452. 00000EA0  4AAF 0010                tst.l      [A7 + 0x10]
  1453. 00000EA4  670E                     beq        +0x10 /* 00000EB4 */
  1454. 00000EA6  554F                     subq.w     A7, 2
  1455. 00000EA8  486F 0012                pea.l      [A7 + 0x12]
  1456. 00000EAC  4EAD DA30                jsr        [A5 - 0x25D0]
  1457. 00000EB0  301F                     move.w     D0, [A7]+
  1458. 00000EB2  663E                     bne        +0x40 /* 00000EF2 */
  1459. label00000EB4:
  1460. 00000EB4  4EBA 0108                jsr        [PC + 0x108 /* 00000FBE */]
  1461. 00000EB8  2648                     movea.l    A3, A0
  1462. 00000EBA  2008                     move.l     D0, A0
  1463. 00000EBC  6612                     bne        +0x14 /* 00000ED0 */
  1464. 00000EBE  4AAF 0010                tst.l      [A7 + 0x10]
  1465. 00000EC2  6706                     beq        +0x8 /* 00000ECA */
  1466. 00000EC4  206F 0010                movea.l    A0, [A7 + 0x10]
  1467. 00000EC8  A023                     syscall    DisposHandle/DisposeHandle
  1468. label00000ECA:
  1469. 00000ECA  4CDF 0C00                movem.l    A2,A3, [A7]+
  1470. 00000ECE  4E75                     rts
  1471. label00000ED0:
  1472. 00000ED0  2453                     movea.l    A2, [A3]
  1473. 00000ED2  256F 000C 0008           move.l     [A2 + 0x8], [A7 + 0xC]
  1474. 00000ED8  256F 0010 000C           move.l     [A2 + 0xC], [A7 + 0x10]
  1475. 00000EDE  156F 0014 0014           move.b     [A2 + 0x14], [A7 + 0x14]
  1476. 00000EE4  256F 0016 0010           move.l     [A2 + 0x10], [A7 + 0x16]
  1477. 00000EEA  2F0B                     move.l     -[A7], A3
  1478. 00000EEC  4EBA 000A                jsr        [PC + 0xA /* 00000EF8 */]
  1479. 00000EF0  584F                     addq.w     A7, 4
  1480. label00000EF2:
  1481. 00000EF2  4CDF 0C00                movem.l    A2,A3, [A7]+
  1482. 00000EF6  4E75                     rts
  1483. fn00000EF8:
  1484. 00000EF8  48E7 0018                movem.l    -[A7], A3,A4
  1485. 00000EFC  226F 000C                movea.l    A1, [A7 + 0xC]
  1486. 00000F00  2651                     movea.l    A3, [A1]
  1487. 00000F02  4AAD 9D3A                tst.l      [A5 - 0x62C6]
  1488. 00000F06  6618                     bne        +0x1A /* 00000F20 */
  1489. 00000F08  2B49 9D3E                move.l     [A5 - 0x62C2], A1
  1490. 00000F0C  2B49 9D3A                move.l     [A5 - 0x62C6], A1
  1491. 00000F10  2B49 9D36                move.l     [A5 - 0x62CA], A1
  1492. 00000F14  42AB 0004                clr.l      [A3 + 0x4]
  1493. 00000F18  4293                     clr.l      [A3]
  1494. 00000F1A  4CDF 1800                movem.l    A3,A4, [A7]+
  1495. 00000F1E  4E75                     rts
  1496. label00000F20:
  1497. 00000F20  206D 9D3A                movea.l    A0, [A5 - 0x62C6]
  1498. 00000F24  2850                     movea.l    A4, [A0]
  1499. 00000F26  2748 0004                move.l     [A3 + 0x4], A0
  1500. 00000F2A  2694                     move.l     [A3], [A4]
  1501. 00000F2C  6708                     beq        +0xA /* 00000F36 */
  1502. 00000F2E  2054                     movea.l    A0, [A4]
  1503. 00000F30  2050                     movea.l    A0, [A0]
  1504. 00000F32  2149 0004                move.l     [A0 + 0x4], A1
  1505. label00000F36:
  1506. 00000F36  2889                     move.l     [A4], A1
  1507. 00000F38  206D 9D3A                movea.l    A0, [A5 - 0x62C6]
  1508. 00000F3C  B1ED 9D36                cmpa.l     A0, [A5 - 0x62CA]
  1509. 00000F40  6604                     bne        +0x6 /* 00000F46 */
  1510. 00000F42  2B49 9D36                move.l     [A5 - 0x62CA], A1
  1511. label00000F46:
  1512. 00000F46  2B49 9D3A                move.l     [A5 - 0x62C6], A1
  1513. 00000F4A  4CDF 1800                movem.l    A3,A4, [A7]+
  1514. 00000F4E  4E75                     rts
  1515. fn00000F50:
  1516. 00000F50  2F0B                     move.l     -[A7], A3
  1517. 00000F52  266F 0008                movea.l    A3, [A7 + 0x8]
  1518. 00000F56  2253                     movea.l    A1, [A3]
  1519. 00000F58  4AA9 0004                tst.l      [A1 + 0x4]
  1520. 00000F5C  6708                     beq        +0xA /* 00000F66 */
  1521. 00000F5E  2069 0004                movea.l    A0, [A1 + 0x4]
  1522. 00000F62  2050                     movea.l    A0, [A0]
  1523. 00000F64  2091                     move.l     [A0], [A1]
  1524. label00000F66:
  1525. 00000F66  4A91                     tst.l      [A1]
  1526. 00000F68  670A                     beq        +0xC /* 00000F74 */
  1527. 00000F6A  2051                     movea.l    A0, [A1]
  1528. 00000F6C  2050                     movea.l    A0, [A0]
  1529. 00000F6E  2169 0004 0004           move.l     [A0 + 0x4], [A1 + 0x4]
  1530. label00000F74:
  1531. 00000F74  B7ED 9D3E                cmpa.l     A3, [A5 - 0x62C2]
  1532. 00000F78  6604                     bne        +0x6 /* 00000F7E */
  1533. 00000F7A  2B51 9D3E                move.l     [A5 - 0x62C2], [A1]
  1534. label00000F7E:
  1535. 00000F7E  B7ED 9D3A                cmpa.l     A3, [A5 - 0x62C6]
  1536. 00000F82  6604                     bne        +0x6 /* 00000F88 */
  1537. 00000F84  2B51 9D3A                move.l     [A5 - 0x62C6], [A1]
  1538. label00000F88:
  1539. 00000F88  B7ED 9D36                cmpa.l     A3, [A5 - 0x62CA]
  1540. 00000F8C  6604                     bne        +0x6 /* 00000F92 */
  1541. 00000F8E  2B51 9D36                move.l     [A5 - 0x62CA], [A1]
  1542. label00000F92:
  1543. 00000F92  265F                     movea.l    A3, [A7]+
  1544. 00000F94  4E75                     rts
  1545. fn00000F96:
  1546. 00000F96  2F0B                     move.l     -[A7], A3
  1547. 00000F98  266F 0008                movea.l    A3, [A7 + 0x8]
  1548. 00000F9C  2253                     movea.l    A1, [A3]
  1549. 00000F9E  42A9 000C                clr.l      [A1 + 0xC]
  1550. 00000FA2  42A9 0004                clr.l      [A1 + 0x4]
  1551. 00000FA6  22AD 9D32                move.l     [A1], [A5 - 0x62CE]
  1552. 00000FAA  670A                     beq        +0xC /* 00000FB6 */
  1553. 00000FAC  206D 9D32                movea.l    A0, [A5 - 0x62CE]
  1554. 00000FB0  2050                     movea.l    A0, [A0]
  1555. 00000FB2  214B 0004                move.l     [A0 + 0x4], A3
  1556. label00000FB6:
  1557. 00000FB6  2B4B 9D32                move.l     [A5 - 0x62CE], A3
  1558. 00000FBA  265F                     movea.l    A3, [A7]+
  1559. 00000FBC  4E75                     rts
  1560. fn00000FBE:
  1561. 00000FBE  2F0A                     move.l     -[A7], A2
  1562. 00000FC0  246D 9D32                movea.l    A2, [A5 - 0x62CE]
  1563. 00000FC4  200A                     move.l     D0, A2
  1564. 00000FC6  6716                     beq        +0x18 /* 00000FDE */
  1565. 00000FC8  204A                     movea.l    A0, A2
  1566. 00000FCA  2050                     movea.l    A0, [A0]
  1567. 00000FCC  2B50 9D32                move.l     [A5 - 0x62CE], [A0]
  1568. 00000FD0  6712                     beq        +0x14 /* 00000FE4 */
  1569. 00000FD2  206D 9D32                movea.l    A0, [A5 - 0x62CE]
  1570. 00000FD6  2050                     movea.l    A0, [A0]
  1571. 00000FD8  42A8 0004                clr.l      [A0 + 0x4]
  1572. 00000FDC  6006                     bra        +0x8 /* 00000FE4 */
  1573. label00000FDE:
  1574. 00000FDE  7016                     moveq.l    D0, 0x16
  1575. 00000FE0  A122                     syscall    NewHandle, flags=1
  1576. 00000FE2  2448                     movea.l    A2, A0
  1577. label00000FE4:
  1578. 00000FE4  204A                     movea.l    A0, A2
  1579. 00000FE6  245F                     movea.l    A2, [A7]+
  1580. 00000FE8  4E75                     rts
  1581. fn00000FEA:
  1582. 00000FEA  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  1583. 00000FEE  266F 0014                movea.l    A3, [A7 + 0x14]
  1584. 00000FF2  246F 0018                movea.l    A2, [A7 + 0x18]
  1585. 00000FF6  1F3C 0006                move.b     -[A7], 0x6
  1586. 00000FFA  2F0B                     move.l     -[A7], A3
  1587. 00000FFC  4EAD E818                jsr        [A5 - 0x17E8]
  1588. 00001000  3610                     move.w     D3, [A0]
  1589. 00001002  52AD 9D2E                addq.l     [A5 - 0x62D2], 1
  1590. 00001006  200A                     move.l     D0, A2
  1591. 00001008  5C4F                     addq.w     A7, 6
  1592. 0000100A  6728                     beq        +0x2A /* 00001034 */
  1593. 0000100C  4EAD DB08                jsr        [A5 - 0x24F8]
  1594. 00001010  3800                     move.w     D4, D0
  1595. 00001012  3F03                     move.w     -[A7], D3
  1596. 00001014  4EAD DB0E                jsr        [A5 - 0x24F2]
  1597. 00001018  204A                     movea.l    A0, A2
  1598. 0000101A  A029                     syscall    HLock
  1599. 0000101C  2F12                     move.l     -[A7], [A2]
  1600. 0000101E  2F0B                     move.l     -[A7], A3
  1601. 00001020  4EAD DBB0                jsr        [A5 - 0x2450]
  1602. 00001024  204A                     movea.l    A0, A2
  1603. 00001026  A023                     syscall    DisposHandle/DisposeHandle
  1604. 00001028  3F04                     move.w     -[A7], D4
  1605. 0000102A  4EAD DB0E                jsr        [A5 - 0x24F2]
  1606. 0000102E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1607. 00001032  6014                     bra        +0x16 /* 00001048 */
  1608. label00001034:
  1609. 00001034  2F0B                     move.l     -[A7], A3
  1610. 00001036  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  1611. 0000103A  1F2F 0024                move.b     -[A7], [A7 + 0x24]
  1612. 0000103E  3F03                     move.w     -[A7], D3
  1613. 00001040  4EAD E230                jsr        [A5 - 0x1DD0]
  1614. 00001044  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1615. label00001048:
  1616. 00001048  53AD 9D2E                subq.l     [A5 - 0x62D2], 1
  1617. 0000104C  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  1618. 00001050  4E75                     rts
  1619. fn00001052:
  1620. 00001052  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  1621. 00001056  4FEF FFBA                lea.l      A7, [A7 - 0x46]
  1622. 0000105A  2C6F 006A                movea.l    A6, [A7 + 0x6A]
  1623. 0000105E  286F 006E                movea.l    A4, [A7 + 0x6E]
  1624. 00001062  266F 0072                movea.l    A3, [A7 + 0x72]
  1625. 00001066  2A2F 007A                move.l     D5, [A7 + 0x7A]
  1626. 0000106A  95CA                     sub.l      A2, A2
  1627. 0000106C  1F3C 000F                move.b     -[A7], 0xF
  1628. 00001070  2F0C                     move.l     -[A7], A4
  1629. 00001072  4EAD E818                jsr        [A5 - 0x17E8]
  1630. 00001076  2810                     move.l     D4, [A0]
  1631. 00001078  3F56 0006                move.w     [A7 + 0x6], [A6]
  1632. 0000107C  2F6E 0002 0008           move.l     [A7 + 0x8], [A6 + 0x2]
  1633. 00001082  204B                     movea.l    A0, A3
  1634. 00001084  70FF                     moveq.l    D0, 0xFFFFFFFF
  1635. label00001086:
  1636. 00001086  5280                     addq.l     D0, 1
  1637. 00001088  4A18                     tst.b      [A0]+
  1638. 0000108A  66FA                     bne        -0x4 /* 00001086 */
  1639. 0000108C  2600                     move.l     D3, D0
  1640. 0000108E  7040                     moveq.l    D0, 0x40
  1641. 00001090  B680                     cmp.l      D3, D0
  1642. 00001092  5C4F                     addq.w     A7, 6
  1643. 00001094  6502                     bcs        +0x4 /* 00001098 */
  1644. 00001096  763F                     moveq.l    D3, 0x3F
  1645. label00001098:
  1646. 00001098  204B                     movea.l    A0, A3
  1647. 0000109A  43EF 0007                lea.l      A1, [A7 + 0x7]
  1648. 0000109E  1F43 0006                move.b     [A7 + 0x6], D3
  1649. 000010A2  7000                     moveq.l    D0, 0x00
  1650. 000010A4  1003                     move.b     D0, D3
  1651. 000010A6  A02E                     syscall    BlockMove/BlockMoveData
  1652. 000010A8  4857                     pea.l      [A7]
  1653. 000010AA  4EAD E318                jsr        [A5 - 0x1CE8]
  1654. 000010AE  2448                     movea.l    A2, A0
  1655. 000010B0  200A                     move.l     D0, A2
  1656. 000010B2  584F                     addq.w     A7, 4
  1657. 000010B4  670A                     beq        +0xC /* 000010C0 */
  1658. 000010B6  2F0A                     move.l     -[A7], A2
  1659. 000010B8  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  1660. 000010BC  4E90                     jsr        [A0]
  1661. 000010BE  604C                     bra        +0x4E /* 0000110C */
  1662. label000010C0:
  1663. 000010C0  52AD ADBA                addq.l     [A5 - 0x5246], 1
  1664. 000010C4  42A7                     clr.l      -[A7]
  1665. 000010C6  42A7                     clr.l      -[A7]
  1666. 000010C8  2F05                     move.l     -[A7], D5
  1667. 000010CA  42A7                     clr.l      -[A7]
  1668. 000010CC  486F 0010                pea.l      [A7 + 0x10]
  1669. 000010D0  4EAD E330                jsr        [A5 - 0x1CD0]
  1670. 000010D4  2448                     movea.l    A2, A0
  1671. 000010D6  53AD ADBA                subq.l     [A5 - 0x5246], 1
  1672. 000010DA  4A85                     tst.l      D5
  1673. 000010DC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1674. 000010E0  6606                     bne        +0x8 /* 000010E8 */
  1675. 000010E2  2F0A                     move.l     -[A7], A2
  1676. 000010E4  4EAD DF80                jsr        [A5 - 0x2080]
  1677. label000010E8:
  1678. 000010E8  1F3C 0006                move.b     -[A7], 0x6
  1679. 000010EC  2F0C                     move.l     -[A7], A4
  1680. 000010EE  4EAD E818                jsr        [A5 - 0x17E8]
  1681. 000010F2  3610                     move.w     D3, [A0]
  1682. 000010F4  1F3C 0006                move.b     -[A7], 0x6
  1683. 000010F8  2F0A                     move.l     -[A7], A2
  1684. 000010FA  4EAD E818                jsr        [A5 - 0x17E8]
  1685. 000010FE  3C10                     move.w     D6, [A0]
  1686. 00001100  3F06                     move.w     -[A7], D6
  1687. 00001102  3F03                     move.w     -[A7], D3
  1688. 00001104  4EAD E718                jsr        [A5 - 0x18E8]
  1689. 00001108  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1690. label0000110C:
  1691. 0000110C  200A                     move.l     D0, A2
  1692. 0000110E  660C                     bne        +0xE /* 0000111C */
  1693. 00001110  91C8                     sub.l      A0, A0
  1694. 00001112  4FEF 0046                lea.l      A7, [A7 + 0x46]
  1695. 00001116  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1696. 0000111A  4E75                     rts
  1697. label0000111C:
  1698. 0000111C  4A85                     tst.l      D5
  1699. 0000111E  671E                     beq        +0x20 /* 0000113E */
  1700. 00001120  4AAF 007E                tst.l      [A7 + 0x7E]
  1701. 00001124  670A                     beq        +0xC /* 00001130 */
  1702. 00001126  2F0A                     move.l     -[A7], A2
  1703. 00001128  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  1704. 0000112C  4E90                     jsr        [A0]
  1705. 0000112E  600A                     bra        +0xC /* 0000113A */
  1706. label00001130:
  1707. 00001130  4227                     clr.b      -[A7]
  1708. 00001132  2F04                     move.l     -[A7], D4
  1709. 00001134  4EBA FAA2                jsr        [PC - 0x55E /* 00000BD8 */]
  1710. 00001138  5C4F                     addq.w     A7, 6
  1711. label0000113A:
  1712. 0000113A  2F0A                     move.l     -[A7], A2
  1713. 0000113C  A873                     syscall    SetPort
  1714. label0000113E:
  1715. 0000113E  2F04                     move.l     -[A7], D4
  1716. 00001140  1F3C 000F                move.b     -[A7], 0xF
  1717. 00001144  2F0A                     move.l     -[A7], A2
  1718. 00001146  4EAD E818                jsr        [A5 - 0x17E8]
  1719. 0000114A  5C4F                     addq.w     A7, 6
  1720. 0000114C  2F10                     move.l     -[A7], [A0]
  1721. 0000114E  4EBA 000E                jsr        [PC + 0xE /* 0000115E */]
  1722. 00001152  204A                     movea.l    A0, A2
  1723. 00001154  4FEF 004E                lea.l      A7, [A7 + 0x4E]
  1724. 00001158  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1725. 0000115C  4E75                     rts
  1726. fn0000115E:
  1727. 0000115E  48E7 1820                movem.l    -[A7], D3,D4,A2
  1728. 00001162  282F 0010                move.l     D4, [A7 + 0x10]
  1729. 00001166  262F 0014                move.l     D3, [A7 + 0x14]
  1730. 0000116A  594F                     subq.w     A7, 4
  1731. 0000116C  2EB8 09D6                move.l     [A7], [0x000009D6 /* WindowList */]
  1732. 00001170  205F                     movea.l    A0, [A7]+
  1733. 00001172  2448                     movea.l    A2, A0
  1734. 00001174  6028                     bra        +0x2A /* 0000119E */
  1735. label00001176:
  1736. 00001176  302A 006C                move.w     D0, [A2 + 0x6C]
  1737. 0000117A  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  1738. 0000117E  661A                     bne        +0x1C /* 0000119A */
  1739. 00001180  1F3C 000F                move.b     -[A7], 0xF
  1740. 00001184  2F0A                     move.l     -[A7], A2
  1741. 00001186  4EAD E818                jsr        [A5 - 0x17E8]
  1742. 0000118A  B890                     cmp.l      D4, [A0]
  1743. 0000118C  5C4F                     addq.w     A7, 6
  1744. 0000118E  660A                     bne        +0xC /* 0000119A */
  1745. 00001190  2F03                     move.l     -[A7], D3
  1746. 00001192  2F0A                     move.l     -[A7], A2
  1747. 00001194  4EAD E770                jsr        [A5 - 0x1890]
  1748. 00001198  504F                     addq.w     A7, 8
  1749. label0000119A:
  1750. 0000119A  246A 0090                movea.l    A2, [A2 + 0x90]
  1751. label0000119E:
  1752. 0000119E  200A                     move.l     D0, A2
  1753. 000011A0  66D4                     bne        -0x2A /* 00001176 */
  1754. 000011A2  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  1755. 000011A6  4E75                     rts
  1756. 000011A8  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  1757. 000011AC  594F                     subq.w     A7, 4
  1758. 000011AE  246F 0018                movea.l    A2, [A7 + 0x18]
  1759. 000011B2  2A2F 001C                move.l     D5, [A7 + 0x1C]
  1760. 000011B6  262F 0020                move.l     D3, [A7 + 0x20]
  1761. 000011BA  1F3C 0006                move.b     -[A7], 0x6
  1762. 000011BE  2F0A                     move.l     -[A7], A2
  1763. 000011C0  4EAD E818                jsr        [A5 - 0x17E8]
  1764. 000011C4  3810                     move.w     D4, [A0]
  1765. 000011C6  486F 0006                pea.l      [A7 + 0x6]
  1766. 000011CA  2F03                     move.l     -[A7], D3
  1767. 000011CC  2F0A                     move.l     -[A7], A2
  1768. 000011CE  4EBA 006C                jsr        [PC + 0x6C /* 0000123C */]
  1769. 000011D2  4A80                     tst.l      D0
  1770. 000011D4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  1771. 000011D8  6714                     beq        +0x16 /* 000011EE */
  1772. 000011DA  2F17                     move.l     -[A7], [A7]
  1773. 000011DC  2F05                     move.l     -[A7], D5
  1774. 000011DE  2F0A                     move.l     -[A7], A2
  1775. 000011E0  4EBA 1274                jsr        [PC + 0x1274 /* 00002456 */]
  1776. 000011E4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1777. 000011E8  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  1778. 000011EC  4E75                     rts
  1779. label000011EE:
  1780. 000011EE  486D 9D58                pea.l      [A5 - 0x62A8]
  1781. 000011F2  486D 9D4A                pea.l      [A5 - 0x62B6]
  1782. 000011F6  486D 9D42                pea.l      [A5 - 0x62BE]
  1783. 000011FA  2F03                     move.l     -[A7], D3
  1784. 000011FC  3F04                     move.w     -[A7], D4
  1785. 000011FE  2F0A                     move.l     -[A7], A2
  1786. 00001200  4EAD E2A8                jsr        [A5 - 0x1D58]
  1787. 00001204  2B45 9D50                move.l     [A5 - 0x62B0], D5
  1788. 00001208  3B6F 003A 9D5A           move.w     [A5 - 0x62A6], [A7 + 0x3A]
  1789. 0000120E  2B43 9D54                move.l     [A5 - 0x62AC], D3
  1790. 00001212  2F3C 544F 5043           move.l     -[A7], 0x544F5043 /* 'TOPC' */
  1791. 00001218  2F0A                     move.l     -[A7], A2
  1792. 0000121A  4EAD E8D8                jsr        [A5 - 0x1728]
  1793. 0000121E  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1794. 00001222  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  1795. 00001226  4E75                     rts
  1796. fn00001228:
  1797. 00001228  206F 0004                movea.l    A0, [A7 + 0x4]
  1798. 0000122C  43ED 9D42                lea.l      A1, [A5 - 0x62BE]
  1799. 00001230  7005                     moveq.l    D0, 0x05
  1800. label00001232:
  1801. 00001232  20D9                     move.l     [A0]+, [A1]+
  1802. 00001234  51C8 FFFC                dbf        D0, -0x6 /* 00001232 */
  1803. 00001238  30D9                     move.w     [A0]+, [A1]+
  1804. 0000123A  4E75                     rts
  1805. fn0000123C:
  1806. 0000123C  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  1807. 00001240  514F                     subq.w     A7, 8
  1808. 00001242  246F 001C                movea.l    A2, [A7 + 0x1C]
  1809. 00001246  282F 0020                move.l     D4, [A7 + 0x20]
  1810. 0000124A  266F 0024                movea.l    A3, [A7 + 0x24]
  1811. 0000124E  7600                     moveq.l    D3, 0x00
  1812. 00001250  4227                     clr.b      -[A7]
  1813. 00001252  486F 0002                pea.l      [A7 + 0x2]
  1814. 00001256  486F 000A                pea.l      [A7 + 0xA]
  1815. 0000125A  2F0A                     move.l     -[A7], A2
  1816. 0000125C  4EAD E838                jsr        [A5 - 0x17C8]
  1817. 00001260  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1818. 00001264  6028                     bra        +0x2A /* 0000128E */
  1819. label00001266:
  1820. 00001266  206F 0004                movea.l    A0, [A7 + 0x4]
  1821. 0000126A  0CA8 544F 5043 004C      cmpi.l     [A0 + 0x4C], 0x544F5043 /* 'TOPC' */
  1822. 00001272  661A                     bne        +0x1C /* 0000128E */
  1823. 00001274  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1824. 00001278  4EBA 1F48                jsr        [PC + 0x1F48 /* 000031C2 */]
  1825. 0000127C  B880                     cmp.l      D4, D0
  1826. 0000127E  584F                     addq.w     A7, 4
  1827. 00001280  660C                     bne        +0xE /* 0000128E */
  1828. 00001282  206F 0004                movea.l    A0, [A7 + 0x4]
  1829. 00001286  26A8 0054                move.l     [A3], [A0 + 0x54]
  1830. 0000128A  7601                     moveq.l    D3, 0x01
  1831. 0000128C  601A                     bra        +0x1C /* 000012A8 */
  1832. label0000128E:
  1833. 0000128E  1F3C 0001                move.b     -[A7], 0x1
  1834. 00001292  486F 0002                pea.l      [A7 + 0x2]
  1835. 00001296  486F 000A                pea.l      [A7 + 0xA]
  1836. 0000129A  2F0A                     move.l     -[A7], A2
  1837. 0000129C  4EAD E838                jsr        [A5 - 0x17C8]
  1838. 000012A0  4A80                     tst.l      D0
  1839. 000012A2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1840. 000012A6  66BE                     bne        -0x40 /* 00001266 */
  1841. label000012A8:
  1842. 000012A8  1F3C 0002                move.b     -[A7], 0x2
  1843. 000012AC  486F 0002                pea.l      [A7 + 0x2]
  1844. 000012B0  486F 000A                pea.l      [A7 + 0xA]
  1845. 000012B4  2F0A                     move.l     -[A7], A2
  1846. 000012B6  4EAD E838                jsr        [A5 - 0x17C8]
  1847. 000012BA  2003                     move.l     D0, D3
  1848. 000012BC  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1849. 000012C0  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  1850. 000012C4  4E75                     rts
  1851. fn000012C6:
  1852. 000012C6  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1853. 000012CA  4FEF FE98                lea.l      A7, [A7 - 0x168]
  1854. 000012CE  246F 0190                movea.l    A2, [A7 + 0x190]
  1855. 000012D2  266F 0194                movea.l    A3, [A7 + 0x194]
  1856. 000012D6  362F 0198                move.w     D3, [A7 + 0x198]
  1857. 000012DA  2C2F 019A                move.l     D6, [A7 + 0x19A]
  1858. 000012DE  286F 01A2                movea.l    A4, [A7 + 0x1A2]
  1859. 000012E2  2C6F 01AE                movea.l    A6, [A7 + 0x1AE]
  1860. 000012E6  2A2F 01B2                move.l     D5, [A7 + 0x1B2]
  1861. 000012EA  7800                     moveq.l    D4, 0x00
  1862. 000012EC  2B4E 9D5C                move.l     [A5 - 0x62A4], A6
  1863. 000012F0  2F0A                     move.l     -[A7], A2
  1864. 000012F2  4EAD E408                jsr        [A5 - 0x1BF8]
  1865. 000012F6  4EAD DF98                jsr        [A5 - 0x2068]
  1866. 000012FA  3F6C 0002 0012           move.w     [A7 + 0x12], [A4 + 0x2]
  1867. 00001300  2F54 0008                move.l     [A7 + 0x8], [A4]
  1868. 00001304  2F6C 0004 000C           move.l     [A7 + 0xC], [A4 + 0x4]
  1869. 0000130A  4AAF 01AA                tst.l      [A7 + 0x1AA]
  1870. 0000130E  584F                     addq.w     A7, 4
  1871. 00001310  6720                     beq        +0x22 /* 00001332 */
  1872. 00001312  302C 0004                move.w     D0, [A4 + 0x4]
  1873. 00001316  48C0                     ext.l      D0
  1874. 00001318  5080                     addq.l     D0, 8
  1875. 0000131A  3F40 000C                move.w     [A7 + 0xC], D0
  1876. 0000131E  486F 000C                pea.l      [A7 + 0xC]
  1877. 00001322  A870                     syscall    LocalToGlobal
  1878. 00001324  486F 0004                pea.l      [A7 + 0x4]
  1879. 00001328  A870                     syscall    LocalToGlobal
  1880. 0000132A  486F 0008                pea.l      [A7 + 0x8]
  1881. 0000132E  A870                     syscall    LocalToGlobal
  1882. 00001330  6004                     bra        +0x6 /* 00001336 */
  1883. label00001332:
  1884. 00001332  3F54 000C                move.w     [A7 + 0xC], [A4]
  1885. label00001336:
  1886. 00001336  3003                     move.w     D0, D3
  1887. 00001338  48C0                     ext.l      D0
  1888. 0000133A  4A80                     tst.l      D0
  1889. 0000133C  6E06                     bgt        +0x8 /* 00001344 */
  1890. 0000133E  4EBA 0508                jsr        [PC + 0x508 /* 00001848 */]
  1891. 00001342  3600                     move.w     D3, D0
  1892. label00001344:
  1893. 00001344  4A85                     tst.l      D5
  1894. 00001346  670E                     beq        +0x10 /* 00001356 */
  1895. 00001348  3003                     move.w     D0, D3
  1896. 0000134A  48C0                     ext.l      D0
  1897. 0000134C  72F6                     moveq.l    D1, 0xFFFFFFF6
  1898. 0000134E  D081                     add.l      D0, D1
  1899. 00001350  3B40 9D60                move.w     [A5 - 0x62A0], D0
  1900. 00001354  6012                     bra        +0x14 /* 00001368 */
  1901. label00001356:
  1902. 00001356  302C 0002                move.w     D0, [A4 + 0x2]
  1903. 0000135A  48C0                     ext.l      D0
  1904. 0000135C  322C 0006                move.w     D1, [A4 + 0x6]
  1905. 00001360  48C1                     ext.l      D1
  1906. 00001362  9280                     sub.l      D1, D0
  1907. 00001364  3B41 9D60                move.w     [A5 - 0x62A0], D1
  1908. label00001368:
  1909. 00001368  486F 0010                pea.l      [A7 + 0x10]
  1910. 0000136C  2F2F 01AE                move.l     -[A7], [A7 + 0x1AE]
  1911. 00001370  4EBA 030A                jsr        [PC + 0x30A /* 0000167C */]
  1912. 00001374  302F 001A                move.w     D0, [A7 + 0x1A]
  1913. 00001378  48C0                     ext.l      D0
  1914. 0000137A  362F 001E                move.w     D3, [A7 + 0x1E]
  1915. 0000137E  48C3                     ext.l      D3
  1916. 00001380  9680                     sub.l      D3, D0
  1917. 00001382  302F 0018                move.w     D0, [A7 + 0x18]
  1918. 00001386  48C0                     ext.l      D0
  1919. 00001388  3E2F 001C                move.w     D7, [A7 + 0x1C]
  1920. 0000138C  48C7                     ext.l      D7
  1921. 0000138E  9E80                     sub.l      D7, D0
  1922. 00001390  B66D 9D60                cmp.w      D3, [A5 - 0x62A0]
  1923. 00001394  504F                     addq.w     A7, 8
  1924. 00001396  6C06                     bge        +0x8 /* 0000139E */
  1925. 00001398  3B43 9D60                move.w     [A5 - 0x62A0], D3
  1926. 0000139C  6018                     bra        +0x1A /* 000013B6 */
  1927. label0000139E:
  1928. 0000139E  4A85                     tst.l      D5
  1929. 000013A0  6714                     beq        +0x16 /* 000013B6 */
  1930. 000013A2  302D 9D60                move.w     D0, [A5 - 0x62A0]
  1931. 000013A6  48C0                     ext.l      D0
  1932. 000013A8  0C80 0000 00FA           cmpi.l     D0, 0xFA
  1933. 000013AE  6C06                     bge        +0x8 /* 000013B6 */
  1934. 000013B0  3B7C 00FA 9D60           move.w     [A5 - 0x62A0], 0xFA
  1935. label000013B6:
  1936. 000013B6  200B                     move.l     D0, A3
  1937. 000013B8  671E                     beq        +0x20 /* 000013D8 */
  1938. 000013BA  594F                     subq.w     A7, 4
  1939. 000013BC  2F0B                     move.l     -[A7], A3
  1940. 000013BE  4EAD D9AC                jsr        [A5 - 0x2654]
  1941. 000013C2  201F                     move.l     D0, [A7]+
  1942. 000013C4  1F40 0066                move.b     [A7 + 0x66], D0
  1943. 000013C8  7200                     moveq.l    D1, 0x00
  1944. 000013CA  1200                     move.b     D1, D0
  1945. 000013CC  2001                     move.l     D0, D1
  1946. 000013CE  2053                     movea.l    A0, [A3]
  1947. 000013D0  43EF 0067                lea.l      A1, [A7 + 0x67]
  1948. 000013D4  A02E                     syscall    BlockMove/BlockMoveData
  1949. 000013D6  6004                     bra        +0x6 /* 000013DC */
  1950. label000013D8:
  1951. 000013D8  422F 0066                clr.b      [A7 + 0x66]
  1952. label000013DC:
  1953. 000013DC  4AAD B2D8                tst.l      [A5 - 0x4D28]
  1954. 000013E0  6720                     beq        +0x22 /* 00001402 */
  1955. 000013E2  1F3C 0011                move.b     -[A7], 0x11
  1956. 000013E6  2F0A                     move.l     -[A7], A2
  1957. 000013E8  4EAD E818                jsr        [A5 - 0x17E8]
  1958. 000013EC  3610                     move.w     D3, [A0]
  1959. 000013EE  486F 0024                pea.l      [A7 + 0x24]
  1960. 000013F2  486F 0026                pea.l      [A7 + 0x26]
  1961. 000013F6  3F03                     move.w     -[A7], D3
  1962. 000013F8  4EAD FF00                jsr        [A5 - 0x100]
  1963. 000013FC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1964. 00001400  6036                     bra        +0x38 /* 00001438 */
  1965. label00001402:
  1966. 00001402  1F3C 0005                move.b     -[A7], 0x5
  1967. 00001406  2F0A                     move.l     -[A7], A2
  1968. 00001408  4EAD E818                jsr        [A5 - 0x17E8]
  1969. 0000140C  43EF 0024                lea.l      A1, [A7 + 0x24]
  1970. 00001410  7010                     moveq.l    D0, 0x10
  1971. label00001412:
  1972. 00001412  22D8                     move.l     [A1]+, [A0]+
  1973. 00001414  51C8 FFFC                dbf        D0, -0x6 /* 00001412 */
  1974. 00001418  32D8                     move.w     [A1]+, [A0]+
  1975. 0000141A  1F3C 0006                move.b     -[A7], 0x6
  1976. 0000141E  2F0A                     move.l     -[A7], A2
  1977. 00001420  4EAD E818                jsr        [A5 - 0x17E8]
  1978. 00001424  3610                     move.w     D3, [A0]
  1979. 00001426  1F3C 0007                move.b     -[A7], 0x7
  1980. 0000142A  2F0A                     move.l     -[A7], A2
  1981. 0000142C  4EAD E818                jsr        [A5 - 0x17E8]
  1982. 00001430  3F50 002E                move.w     [A7 + 0x2E], [A0]
  1983. 00001434  4FEF 0012                lea.l      A7, [A7 + 0x12]
  1984. label00001438:
  1985. 00001438  2B46 9D62                move.l     [A5 - 0x629E], D6
  1986. 0000143C  42A7                     clr.l      -[A7]
  1987. 0000143E  4878 0001                push.l     0x1
  1988. 00001442  42A7                     clr.l      -[A7]
  1989. 00001444  42A7                     clr.l      -[A7]
  1990. 00001446  1F3C 0001                move.b     -[A7], 0x1
  1991. 0000144A  3F2F 002E                move.w     -[A7], [A7 + 0x2E]
  1992. 0000144E  3F03                     move.w     -[A7], D3
  1993. 00001450  486F 007C                pea.l      [A7 + 0x7C]
  1994. 00001454  486F 0038                pea.l      [A7 + 0x38]
  1995. 00001458  4EAD E778                jsr        [A5 - 0x1888]
  1996. 0000145C  2648                     movea.l    A3, A0
  1997. 0000145E  2008                     move.l     D0, A0
  1998. 00001460  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  1999. 00001464  660E                     bne        +0x10 /* 00001474 */
  2000. 00001466  554F                     subq.w     A7, 2
  2001. 00001468  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2002. 0000146C  301F                     move.w     D0, [A7]+
  2003. 0000146E  3800                     move.w     D4, D0
  2004. 00001470  6000 00B2                bra        +0xB4 /* 00001524 */
  2005. label00001474:
  2006. 00001474  1F3C 000F                move.b     -[A7], 0xF
  2007. 00001478  2F0A                     move.l     -[A7], A2
  2008. 0000147A  4EAD E818                jsr        [A5 - 0x17E8]
  2009. 0000147E  5C4F                     addq.w     A7, 6
  2010. 00001480  2F10                     move.l     -[A7], [A0]
  2011. 00001482  2F0B                     move.l     -[A7], A3
  2012. 00001484  4EAD E770                jsr        [A5 - 0x1890]
  2013. 00001488  7000                     moveq.l    D0, 0x00
  2014. 0000148A  102D 81A0                move.b     D0, [A5 - 0x7E60]
  2015. 0000148E  7202                     moveq.l    D1, 0x02
  2016. 00001490  B081                     cmp.l      D0, D1
  2017. 00001492  504F                     addq.w     A7, 8
  2018. 00001494  6D0E                     blt        +0x10 /* 000014A4 */
  2019. 00001496  200E                     move.l     D0, A6
  2020. 00001498  670A                     beq        +0xC /* 000014A4 */
  2021. 0000149A  2F0E                     move.l     -[A7], A6
  2022. 0000149C  2F0B                     move.l     -[A7], A3
  2023. 0000149E  4EBA 035C                jsr        [PC + 0x35C /* 000017FC */]
  2024. 000014A2  504F                     addq.w     A7, 8
  2025. label000014A4:
  2026. 000014A4  4EBA F976                jsr        [PC - 0x68A /* 00000E1C */]
  2027. 000014A8  486F 0064                pea.l      [A7 + 0x64]
  2028. 000014AC  486F 016A                pea.l      [A7 + 0x16A]
  2029. 000014B0  486F 0020                pea.l      [A7 + 0x20]
  2030. 000014B4  2F0B                     move.l     -[A7], A3
  2031. 000014B6  4EBA 14B2                jsr        [PC + 0x14B2 /* 0000296A */]
  2032. 000014BA  4A85                     tst.l      D5
  2033. 000014BC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2034. 000014C0  672A                     beq        +0x2C /* 000014EC */
  2035. 000014C2  4AAF 0018                tst.l      [A7 + 0x18]
  2036. 000014C6  6712                     beq        +0x14 /* 000014DA */
  2037. 000014C8  302F 0166                move.w     D0, [A7 + 0x166]
  2038. 000014CC  B06D 9D60                cmp.w      D0, [A5 - 0x62A0]
  2039. 000014D0  6F52                     ble        +0x54 /* 00001524 */
  2040. 000014D2  3B6F 0166 9D60           move.w     [A5 - 0x62A0], [A7 + 0x166]
  2041. 000014D8  604A                     bra        +0x4C /* 00001524 */
  2042. label000014DA:
  2043. 000014DA  302F 0166                move.w     D0, [A7 + 0x166]
  2044. 000014DE  48C0                     ext.l      D0
  2045. 000014E0  4A80                     tst.l      D0
  2046. 000014E2  6F40                     ble        +0x42 /* 00001524 */
  2047. 000014E4  3B6F 0166 9D60           move.w     [A5 - 0x62A0], [A7 + 0x166]
  2048. 000014EA  6038                     bra        +0x3A /* 00001524 */
  2049. label000014EC:
  2050. 000014EC  3014                     move.w     D0, [A4]
  2051. 000014EE  48C0                     ext.l      D0
  2052. 000014F0  322C 0004                move.w     D1, [A4 + 0x4]
  2053. 000014F4  48C1                     ext.l      D1
  2054. 000014F6  9280                     sub.l      D1, D0
  2055. 000014F8  2E81                     move.l     [A7], D1
  2056. 000014FA  302F 0064                move.w     D0, [A7 + 0x64]
  2057. 000014FE  48C0                     ext.l      D0
  2058. 00001500  B081                     cmp.l      D0, D1
  2059. 00001502  6F06                     ble        +0x8 /* 0000150A */
  2060. 00001504  3F6F 0002 0064           move.w     [A7 + 0x64], [A7 + 0x2]
  2061. label0000150A:
  2062. 0000150A  302F 0166                move.w     D0, [A7 + 0x166]
  2063. 0000150E  48C0                     ext.l      D0
  2064. 00001510  4A80                     tst.l      D0
  2065. 00001512  6F10                     ble        +0x12 /* 00001524 */
  2066. 00001514  302F 0166                move.w     D0, [A7 + 0x166]
  2067. 00001518  B06D 9D60                cmp.w      D0, [A5 - 0x62A0]
  2068. 0000151C  6C06                     bge        +0x8 /* 00001524 */
  2069. 0000151E  3B6F 0166 9D60           move.w     [A5 - 0x62A0], [A7 + 0x166]
  2070. label00001524:
  2071. 00001524  4A44                     tst.w      D4
  2072. 00001526  6720                     beq        +0x22 /* 00001548 */
  2073. 00001528  200B                     move.l     D0, A3
  2074. 0000152A  6708                     beq        +0xA /* 00001534 */
  2075. 0000152C  2F0B                     move.l     -[A7], A3
  2076. 0000152E  4EAD E780                jsr        [A5 - 0x1880]
  2077. 00001532  584F                     addq.w     A7, 4
  2078. label00001534:
  2079. 00001534  3F04                     move.w     -[A7], D4
  2080. 00001536  3F3C 0002                move.w     -[A7], 0x2
  2081. 0000153A  4EAD DE98                jsr        [A5 - 0x2168]
  2082. 0000153E  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  2083. 00001542  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2084. 00001546  4E75                     rts
  2085. label00001548:
  2086. 00001548  BE6F 0064                cmp.w      D7, [A7 + 0x64]
  2087. 0000154C  6C04                     bge        +0x6 /* 00001552 */
  2088. 0000154E  3F47 0064                move.w     [A7 + 0x64], D7
  2089. label00001552:
  2090. 00001552  2F0B                     move.l     -[A7], A3
  2091. 00001554  3F2D 9D60                move.w     -[A7], [A5 - 0x62A0]
  2092. 00001558  3F2F 006A                move.w     -[A7], [A7 + 0x6A]
  2093. 0000155C  4227                     clr.b      -[A7]
  2094. 0000155E  A91D                     syscall    SizeWindow
  2095. 00001560  486F 0010                pea.l      [A7 + 0x10]
  2096. 00001564  3F2F 0068                move.w     -[A7], [A7 + 0x68]
  2097. 00001568  3F2D 9D60                move.w     -[A7], [A5 - 0x62A0]
  2098. 0000156C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  2099. 00001570  2F0B                     move.l     -[A7], A3
  2100. 00001572  4EBA 0192                jsr        [PC + 0x192 /* 00001706 */]
  2101. 00001576  486F 0014                pea.l      [A7 + 0x14]
  2102. 0000157A  2F0B                     move.l     -[A7], A3
  2103. 0000157C  4EBA 022A                jsr        [PC + 0x22A /* 000017A8 */]
  2104. 00001580  486F 001C                pea.l      [A7 + 0x1C]
  2105. 00001584  2F0B                     move.l     -[A7], A3
  2106. 00001586  4EBA 1482                jsr        [PC + 0x1482 /* 00002A0A */]
  2107. 0000158A  4AAF 01BE                tst.l      [A7 + 0x1BE]
  2108. 0000158E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2109. 00001592  6712                     beq        +0x14 /* 000015A6 */
  2110. 00001594  4878 0001                push.l     0x1
  2111. 00001598  2F2F 01A2                move.l     -[A7], [A7 + 0x1A2]
  2112. 0000159C  2F0B                     move.l     -[A7], A3
  2113. 0000159E  4EBA 0C4A                jsr        [PC + 0xC4A /* 000021EA */]
  2114. 000015A2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2115. label000015A6:
  2116. 000015A6  2F0B                     move.l     -[A7], A3
  2117. 000015A8  4EAD DFA8                jsr        [A5 - 0x2058]
  2118. 000015AC  4FEF 016C                lea.l      A7, [A7 + 0x16C]
  2119. 000015B0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2120. 000015B4  4E75                     rts
  2121. fn000015B6:
  2122. 000015B6  202D 9D62                move.l     D0, [A5 - 0x629E]
  2123. 000015BA  4E75                     rts
  2124. fn000015BC:
  2125. 000015BC  302D 9D60                move.w     D0, [A5 - 0x62A0]
  2126. 000015C0  4E75                     rts
  2127. fn000015C2:
  2128. 000015C2  2F0A                     move.l     -[A7], A2
  2129. 000015C4  246F 0008                movea.l    A2, [A7 + 0x8]
  2130. 000015C8  4AAD 9D5C                tst.l      [A5 - 0x62A4]
  2131. 000015CC  670E                     beq        +0x10 /* 000015DC */
  2132. 000015CE  206D 9D5C                movea.l    A0, [A5 - 0x62A4]
  2133. 000015D2  2490                     move.l     [A2], [A0]
  2134. 000015D4  3568 0004 0004           move.w     [A2 + 0x4], [A0 + 0x4]
  2135. 000015DA  6010                     bra        +0x12 /* 000015EC */
  2136. label000015DC:
  2137. 000015DC  357C FFFF 0004           move.w     [A2 + 0x4], 0xFFFF
  2138. 000015E2  357C FFFF 0002           move.w     [A2 + 0x2], 0xFFFF
  2139. 000015E8  34BC FFFF                move.w     [A2], 0xFFFF
  2140. label000015EC:
  2141. 000015EC  245F                     movea.l    A2, [A7]+
  2142. 000015EE  4E75                     rts
  2143. fn000015F0:
  2144. 000015F0  514F                     subq.w     A7, 8
  2145. 000015F2  4A6D B48C                tst.w      [A5 - 0x4B74]
  2146. 000015F6  673A                     beq        +0x3C /* 00001632 */
  2147. 000015F8  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2148. 000015FC  4EAD DD40                jsr        [A5 - 0x22C0]
  2149. 00001600  206F 0010                movea.l    A0, [A7 + 0x10]
  2150. 00001604  2F68 0010 0004           move.l     [A7 + 0x4], [A0 + 0x10]
  2151. 0000160A  2F68 0014 0008           move.l     [A7 + 0x8], [A0 + 0x14]
  2152. 00001610  486F 0004                pea.l      [A7 + 0x4]
  2153. 00001614  A870                     syscall    LocalToGlobal
  2154. 00001616  486F 0008                pea.l      [A7 + 0x8]
  2155. 0000161A  A870                     syscall    LocalToGlobal
  2156. 0000161C  4EAD DD48                jsr        [A5 - 0x22B8]
  2157. 00001620  42A7                     clr.l      -[A7]
  2158. 00001622  486F 0008                pea.l      [A7 + 0x8]
  2159. 00001626  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  2160. 0000162A  4EAD DB98                jsr        [A5 - 0x2468]
  2161. 0000162E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2162. label00001632:
  2163. 00001632  504F                     addq.w     A7, 8
  2164. 00001634  4E75                     rts
  2165. fn00001636:
  2166. 00001636  48E7 0038                movem.l    -[A7], A2,A3,A4
  2167. 0000163A  286F 0010                movea.l    A4, [A7 + 0x10]
  2168. 0000163E  594F                     subq.w     A7, 4
  2169. 00001640  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  2170. 00001644  4E90                     jsr        [A0]
  2171. 00001646  205F                     movea.l    A0, [A7]+
  2172. 00001648  2448                     movea.l    A2, A0
  2173. 0000164A  6022                     bra        +0x24 /* 0000166E */
  2174. label0000164C:
  2175. 0000164C  266A 0090                movea.l    A3, [A2 + 0x90]
  2176. 00001650  302A 006C                move.w     D0, [A2 + 0x6C]
  2177. 00001654  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  2178. 00001658  6612                     bne        +0x14 /* 0000166C */
  2179. 0000165A  2F0A                     move.l     -[A7], A2
  2180. 0000165C  4EAD E848                jsr        [A5 - 0x17B8]
  2181. 00001660  5300                     subq.b     D0, 1
  2182. 00001662  584F                     addq.w     A7, 4
  2183. 00001664  6606                     bne        +0x8 /* 0000166C */
  2184. 00001666  2F0A                     move.l     -[A7], A2
  2185. 00001668  4EAD DF80                jsr        [A5 - 0x2080]
  2186. label0000166C:
  2187. 0000166C  244B                     movea.l    A2, A3
  2188. label0000166E:
  2189. 0000166E  200A                     move.l     D0, A2
  2190. 00001670  6704                     beq        +0x6 /* 00001676 */
  2191. 00001672  B5CC                     cmpa.l     A2, A4
  2192. 00001674  66D6                     bne        -0x28 /* 0000164C */
  2193. label00001676:
  2194. 00001676  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  2195. 0000167A  4E75                     rts
  2196. fn0000167C:
  2197. 0000167C  48E7 1030                movem.l    -[A7], D3,A2,A3
  2198. 00001680  266F 0014                movea.l    A3, [A7 + 0x14]
  2199. 00001684  95CA                     sub.l      A2, A2
  2200. 00001686  7000                     moveq.l    D0, 0x00
  2201. 00001688  102D 81A0                move.b     D0, [A5 - 0x7E60]
  2202. 0000168C  7202                     moveq.l    D1, 0x02
  2203. 0000168E  B081                     cmp.l      D0, D1
  2204. 00001690  6D4A                     blt        +0x4C /* 000016DC */
  2205. 00001692  594F                     subq.w     A7, 4
  2206. 00001694  AA29                     syscall    GetDeviceList
  2207. 00001696  205F                     movea.l    A0, [A7]+
  2208. 00001698  2448                     movea.l    A2, A0
  2209. 0000169A  603C                     bra        +0x3E /* 000016D8 */
  2210. label0000169C:
  2211. 0000169C  554F                     subq.w     A7, 2
  2212. 0000169E  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2213. 000016A2  2052                     movea.l    A0, [A2]
  2214. 000016A4  4868 0022                pea.l      [A0 + 0x22]
  2215. 000016A8  A8AD                     syscall    PtInRect
  2216. 000016AA  101F                     move.b     D0, [A7]+
  2217. 000016AC  6720                     beq        +0x22 /* 000016CE */
  2218. 000016AE  2052                     movea.l    A0, [A2]
  2219. 000016B0  26A8 0022                move.l     [A3], [A0 + 0x22]
  2220. 000016B4  2768 0026 0004           move.l     [A3 + 0x4], [A0 + 0x26]
  2221. 000016BA  594F                     subq.w     A7, 4
  2222. 000016BC  AA2A                     syscall    GetMainDevice
  2223. 000016BE  205F                     movea.l    A0, [A7]+
  2224. 000016C0  B5C8                     cmpa.l     A2, A0
  2225. 000016C2  57C0                     seq        D0
  2226. 000016C4  4400                     neg.b      D0
  2227. 000016C6  4880                     ext.w      D0
  2228. 000016C8  48C0                     ext.l      D0
  2229. 000016CA  2600                     move.l     D3, D0
  2230. 000016CC  600E                     bra        +0x10 /* 000016DC */
  2231. label000016CE:
  2232. 000016CE  594F                     subq.w     A7, 4
  2233. 000016D0  2F0A                     move.l     -[A7], A2
  2234. 000016D2  AA2B                     syscall    GetNextDevice
  2235. 000016D4  205F                     movea.l    A0, [A7]+
  2236. 000016D6  2448                     movea.l    A2, A0
  2237. label000016D8:
  2238. 000016D8  200A                     move.l     D0, A2
  2239. 000016DA  66C0                     bne        -0x3E /* 0000169C */
  2240. label000016DC:
  2241. 000016DC  200A                     move.l     D0, A2
  2242. 000016DE  660C                     bne        +0xE /* 000016EC */
  2243. 000016E0  26AD 1584                move.l     [A3], [A5 + 0x1584]
  2244. 000016E4  276D 1588 0004           move.l     [A3 + 0x4], [A5 + 0x1588]
  2245. 000016EA  7601                     moveq.l    D3, 0x01
  2246. label000016EC:
  2247. 000016EC  4A83                     tst.l      D3
  2248. 000016EE  6706                     beq        +0x8 /* 000016F6 */
  2249. 000016F0  4EAD E0B0                jsr        [A5 - 0x1F50]
  2250. 000016F4  D153                     add.w      [A3], D0
  2251. label000016F6:
  2252. 000016F6  2F0B                     move.l     -[A7], A3
  2253. 000016F8  2F3C 000A 000A           move.l     -[A7], 0xA000A /* '\n\0\n' */
  2254. 000016FE  A8A9                     syscall    InsetRect
  2255. 00001700  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2256. 00001704  4E75                     rts
  2257. fn00001706:
  2258. 00001706  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2259. 0000170A  266F 0018                movea.l    A3, [A7 + 0x18]
  2260. 0000170E  382F 0020                move.w     D4, [A7 + 0x20]
  2261. 00001712  3A2F 0022                move.w     D5, [A7 + 0x22]
  2262. 00001716  246F 0024                movea.l    A2, [A7 + 0x24]
  2263. 0000171A  362F 001E                move.w     D3, [A7 + 0x1E]
  2264. 0000171E  48C3                     ext.l      D3
  2265. 00001720  72EC                     moveq.l    D1, 0xFFFFFFEC
  2266. 00001722  D681                     add.l      D3, D1
  2267. 00001724  302A 0006                move.w     D0, [A2 + 0x6]
  2268. 00001728  48C0                     ext.l      D0
  2269. 0000172A  3204                     move.w     D1, D4
  2270. 0000172C  48C1                     ext.l      D1
  2271. 0000172E  3403                     move.w     D2, D3
  2272. 00001730  48C2                     ext.l      D2
  2273. 00001732  D481                     add.l      D2, D1
  2274. 00001734  B480                     cmp.l      D2, D0
  2275. 00001736  6F0C                     ble        +0xE /* 00001744 */
  2276. 00001738  3004                     move.w     D0, D4
  2277. 0000173A  48C0                     ext.l      D0
  2278. 0000173C  362A 0006                move.w     D3, [A2 + 0x6]
  2279. 00001740  48C3                     ext.l      D3
  2280. 00001742  9680                     sub.l      D3, D0
  2281. label00001744:
  2282. 00001744  B66A 0002                cmp.w      D3, [A2 + 0x2]
  2283. 00001748  6C04                     bge        +0x6 /* 0000174E */
  2284. 0000174A  362A 0002                move.w     D3, [A2 + 0x2]
  2285. label0000174E:
  2286. 0000174E  382F 001C                move.w     D4, [A7 + 0x1C]
  2287. 00001752  302A 0004                move.w     D0, [A2 + 0x4]
  2288. 00001756  48C0                     ext.l      D0
  2289. 00001758  3205                     move.w     D1, D5
  2290. 0000175A  48C1                     ext.l      D1
  2291. 0000175C  3404                     move.w     D2, D4
  2292. 0000175E  48C2                     ext.l      D2
  2293. 00001760  D481                     add.l      D2, D1
  2294. 00001762  B480                     cmp.l      D2, D0
  2295. 00001764  6F0C                     ble        +0xE /* 00001772 */
  2296. 00001766  3005                     move.w     D0, D5
  2297. 00001768  48C0                     ext.l      D0
  2298. 0000176A  382A 0004                move.w     D4, [A2 + 0x4]
  2299. 0000176E  48C4                     ext.l      D4
  2300. 00001770  9880                     sub.l      D4, D0
  2301. label00001772:
  2302. 00001772  B852                     cmp.w      D4, [A2]
  2303. 00001774  6C02                     bge        +0x4 /* 00001778 */
  2304. 00001776  3812                     move.w     D4, [A2]
  2305. label00001778:
  2306. 00001778  2F0B                     move.l     -[A7], A3
  2307. 0000177A  3F03                     move.w     -[A7], D3
  2308. 0000177C  3F04                     move.w     -[A7], D4
  2309. 0000177E  1F3C 0001                move.b     -[A7], 0x1
  2310. 00001782  A91B                     syscall    MoveWindow
  2311. 00001784  3003                     move.w     D0, D3
  2312. 00001786  48C0                     ext.l      D0
  2313. 00001788  382F 001E                move.w     D4, [A7 + 0x1E]
  2314. 0000178C  48C4                     ext.l      D4
  2315. 0000178E  9880                     sub.l      D4, D0
  2316. 00001790  3004                     move.w     D0, D4
  2317. 00001792  48C0                     ext.l      D0
  2318. 00001794  7214                     moveq.l    D1, 0x14
  2319. 00001796  B081                     cmp.l      D0, D1
  2320. 00001798  6C02                     bge        +0x4 /* 0000179C */
  2321. 0000179A  7814                     moveq.l    D4, 0x14
  2322. label0000179C:
  2323. 0000179C  3044                     movea.w    A0, D4
  2324. 0000179E  2748 0098                move.l     [A3 + 0x98], A0
  2325. 000017A2  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2326. 000017A6  4E75                     rts
  2327. fn000017A8:
  2328. 000017A8  2F0A                     move.l     -[A7], A2
  2329. 000017AA  514F                     subq.w     A7, 8
  2330. 000017AC  246F 0010                movea.l    A2, [A7 + 0x10]
  2331. 000017B0  2F0A                     move.l     -[A7], A2
  2332. 000017B2  4EAD DD40                jsr        [A5 - 0x22C0]
  2333. 000017B6  2F6A 0010 0004           move.l     [A7 + 0x4], [A2 + 0x10]
  2334. 000017BC  2F6A 0014 0008           move.l     [A7 + 0x8], [A2 + 0x14]
  2335. 000017C2  486F 0004                pea.l      [A7 + 0x4]
  2336. 000017C6  A870                     syscall    LocalToGlobal
  2337. 000017C8  486F 0008                pea.l      [A7 + 0x8]
  2338. 000017CC  A870                     syscall    LocalToGlobal
  2339. 000017CE  4EAD DD48                jsr        [A5 - 0x22B8]
  2340. 000017D2  4A6D B48C                tst.w      [A5 - 0x4B74]
  2341. 000017D6  584F                     addq.w     A7, 4
  2342. 000017D8  6714                     beq        +0x16 /* 000017EE */
  2343. 000017DA  4878 0001                push.l     0x1
  2344. 000017DE  486F 0004                pea.l      [A7 + 0x4]
  2345. 000017E2  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  2346. 000017E6  4EAD DB98                jsr        [A5 - 0x2468]
  2347. 000017EA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2348. label000017EE:
  2349. 000017EE  2F0A                     move.l     -[A7], A2
  2350. 000017F0  206D 133E                movea.l    A0, [A5 + 0x133E]
  2351. 000017F4  4E90                     jsr        [A0]
  2352. 000017F6  504F                     addq.w     A7, 8
  2353. 000017F8  245F                     movea.l    A2, [A7]+
  2354. 000017FA  4E75                     rts
  2355. fn000017FC:
  2356. 000017FC  514F                     subq.w     A7, 8
  2357. 000017FE  554F                     subq.w     A7, 2
  2358. 00001800  42A7                     clr.l      -[A7]
  2359. 00001802  486F 0006                pea.l      [A7 + 0x6]
  2360. 00001806  AA42                     syscall    GetAuxWin
  2361. 00001808  101F                     move.b     D0, [A7]+
  2362. 0000180A  4A97                     tst.l      [A7]
  2363. 0000180C  6736                     beq        +0x38 /* 00001844 */
  2364. 0000180E  2057                     movea.l    A0, [A7]
  2365. 00001810  2050                     movea.l    A0, [A0]
  2366. 00001812  2F68 0008 0004           move.l     [A7 + 0x4], [A0 + 0x8]
  2367. 00001818  554F                     subq.w     A7, 2
  2368. 0000181A  486F 0006                pea.l      [A7 + 0x6]
  2369. 0000181E  4EAD DA30                jsr        [A5 - 0x25D0]
  2370. 00001822  301F                     move.w     D0, [A7]+
  2371. 00001824  661E                     bne        +0x20 /* 00001844 */
  2372. 00001826  206F 0010                movea.l    A0, [A7 + 0x10]
  2373. 0000182A  226F 0004                movea.l    A1, [A7 + 0x4]
  2374. 0000182E  2251                     movea.l    A1, [A1]
  2375. 00001830  2350 000A                move.l     [A1 + 0xA], [A0]
  2376. 00001834  3368 0004 000E           move.w     [A1 + 0xE], [A0 + 0x4]
  2377. 0000183A  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2378. 0000183E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  2379. 00001842  AA41                     syscall    SetWinColor
  2380. label00001844:
  2381. 00001844  504F                     addq.w     A7, 8
  2382. 00001846  4E75                     rts
  2383. fn00001848:
  2384. 00001848  48E7 1020                movem.l    -[A7], D3,A2
  2385. 0000184C  594F                     subq.w     A7, 4
  2386. 0000184E  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  2387. 00001852  4E90                     jsr        [A0]
  2388. 00001854  205F                     movea.l    A0, [A7]+
  2389. 00001856  2448                     movea.l    A2, A0
  2390. 00001858  6038                     bra        +0x3A /* 00001892 */
  2391. label0000185A:
  2392. 0000185A  302A 006C                move.w     D0, [A2 + 0x6C]
  2393. 0000185E  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  2394. 00001862  662A                     bne        +0x2C /* 0000188E */
  2395. 00001864  2F0A                     move.l     -[A7], A2
  2396. 00001866  4EAD E848                jsr        [A5 - 0x17B8]
  2397. 0000186A  1600                     move.b     D3, D0
  2398. 0000186C  4A03                     tst.b      D3
  2399. 0000186E  584F                     addq.w     A7, 4
  2400. 00001870  6706                     beq        +0x8 /* 00001878 */
  2401. 00001872  0C03 0002                cmpi.b     D3, 0x2
  2402. 00001876  6616                     bne        +0x18 /* 0000188E */
  2403. label00001878:
  2404. 00001878  302A 0012                move.w     D0, [A2 + 0x12]
  2405. 0000187C  48C0                     ext.l      D0
  2406. 0000187E  322A 0016                move.w     D1, [A2 + 0x16]
  2407. 00001882  48C1                     ext.l      D1
  2408. 00001884  9280                     sub.l      D1, D0
  2409. 00001886  3001                     move.w     D0, D1
  2410. 00001888  4CDF 0408                movem.l    D3,A2, [A7]+
  2411. 0000188C  4E75                     rts
  2412. label0000188E:
  2413. 0000188E  246A 0090                movea.l    A2, [A2 + 0x90]
  2414. label00001892:
  2415. 00001892  200A                     move.l     D0, A2
  2416. 00001894  66C4                     bne        -0x3A /* 0000185A */
  2417. 00001896  302D 1586                move.w     D0, [A5 + 0x1586]
  2418. 0000189A  48C0                     ext.l      D0
  2419. 0000189C  322D 158A                move.w     D1, [A5 + 0x158A /* export_685 */]
  2420. 000018A0  48C1                     ext.l      D1
  2421. 000018A2  9280                     sub.l      D1, D0
  2422. 000018A4  70F6                     moveq.l    D0, 0xFFFFFFF6
  2423. 000018A6  D280                     add.l      D1, D0
  2424. 000018A8  3001                     move.w     D0, D1
  2425. 000018AA  4CDF 0408                movem.l    D3,A2, [A7]+
  2426. 000018AE  4E75                     rts
  2427. fn000018B0:
  2428. 000018B0  206F 0004                movea.l    A0, [A7 + 0x4]
  2429. 000018B4  2050                     movea.l    A0, [A0]
  2430. 000018B6  3F28 0016                move.w     -[A7], [A0 + 0x16]
  2431. 000018BA  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  2432. 000018BE  4EBA 03B6                jsr        [PC + 0x3B6 /* 00001C76 */]
  2433. 000018C2  5C4F                     addq.w     A7, 6
  2434. 000018C4  4E75                     rts
  2435. fn000018C6:
  2436. 000018C6  2F0A                     move.l     -[A7], A2
  2437. 000018C8  1F3C 0003                move.b     -[A7], 0x3
  2438. 000018CC  486D B648                pea.l      [A5 - 0x49B8]
  2439. 000018D0  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2440. 000018D4  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2441. 000018D8  4EBA EBB4                jsr        [PC - 0x144C /* 0000048E */]
  2442. 000018DC  2448                     movea.l    A2, A0
  2443. 000018DE  200A                     move.l     D0, A2
  2444. 000018E0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2445. 000018E4  670C                     beq        +0xE /* 000018F2 */
  2446. 000018E6  4878 0001                push.l     0x1
  2447. 000018EA  2F0A                     move.l     -[A7], A2
  2448. 000018EC  4EBA 0480                jsr        [PC + 0x480 /* 00001D6E */]
  2449. 000018F0  504F                     addq.w     A7, 8
  2450. label000018F2:
  2451. 000018F2  204A                     movea.l    A0, A2
  2452. 000018F4  245F                     movea.l    A2, [A7]+
  2453. 000018F6  4E75                     rts
  2454. fn000018F8:
  2455. 000018F8  4AAF 0004                tst.l      [A7 + 0x4]
  2456. 000018FC  6706                     beq        +0x8 /* 00001904 */
  2457. 000018FE  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2458. 00001902  A955                     syscall    DisposeControl
  2459. label00001904:
  2460. 00001904  4E75                     rts
  2461. fn00001906:
  2462. 00001906  48E7 0030                movem.l    -[A7], A2,A3
  2463. 0000190A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2464. 0000190E  246F 001C                movea.l    A2, [A7 + 0x1C]
  2465. 00001912  200A                     move.l     D0, A2
  2466. 00001914  6700 00A2                beq        +0xA4 /* 000019B8 */
  2467. 00001918  2F0A                     move.l     -[A7], A2
  2468. 0000191A  4EBA FF94                jsr        [PC - 0x6C /* 000018B0 */]
  2469. 0000191E  7200                     moveq.l    D1, 0x00
  2470. 00001920  1200                     move.b     D1, D0
  2471. 00001922  584F                     addq.w     A7, 4
  2472. 00001924  4A81                     tst.l      D1
  2473. 00001926  6708                     beq        +0xA /* 00001930 */
  2474. 00001928  5381                     subq.l     D1, 1
  2475. 0000192A  6758                     beq        +0x5A /* 00001984 */
  2476. 0000192C  6000 008A                bra        +0x8C /* 000019B8 */
  2477. label00001930:
  2478. 00001930  2F0A                     move.l     -[A7], A2
  2479. 00001932  A96D                     syscall    Draw1Control
  2480. 00001934  2652                     movea.l    A3, [A2]
  2481. 00001936  246B 0004                movea.l    A2, [A3 + 0x4]
  2482. 0000193A  2EAB 0008                move.l     [A7], [A3 + 0x8]
  2483. 0000193E  2F6B 000C 0004           move.l     [A7 + 0x4], [A3 + 0xC]
  2484. 00001944  4AAD 83D2                tst.l      [A5 - 0x7C2E]
  2485. 00001948  6726                     beq        +0x28 /* 00001970 */
  2486. 0000194A  266A 0018                movea.l    A3, [A2 + 0x18]
  2487. 0000194E  594F                     subq.w     A7, 4
  2488. 00001950  A8D8                     syscall    NewRgn
  2489. 00001952  205F                     movea.l    A0, [A7]+
  2490. 00001954  2448                     movea.l    A2, A0
  2491. 00001956  200A                     move.l     D0, A2
  2492. 00001958  675E                     beq        +0x60 /* 000019B8 */
  2493. 0000195A  2F0A                     move.l     -[A7], A2
  2494. 0000195C  486F 0004                pea.l      [A7 + 0x4]
  2495. 00001960  A8DF                     syscall    RectRgn
  2496. 00001962  2F0B                     move.l     -[A7], A3
  2497. 00001964  2F0A                     move.l     -[A7], A2
  2498. 00001966  2F0B                     move.l     -[A7], A3
  2499. 00001968  A8E6                     syscall    DiffRgn
  2500. 0000196A  2F0A                     move.l     -[A7], A2
  2501. 0000196C  A8D9                     syscall    DisposRgn/DisposeRgn
  2502. 0000196E  6048                     bra        +0x4A /* 000019B8 */
  2503. label00001970:
  2504. 00001970  2F0A                     move.l     -[A7], A2
  2505. 00001972  4EAD DD40                jsr        [A5 - 0x22C0]
  2506. 00001976  486F 0004                pea.l      [A7 + 0x4]
  2507. 0000197A  A92A                     syscall    ValidRect
  2508. 0000197C  4EAD DD48                jsr        [A5 - 0x22B8]
  2509. 00001980  584F                     addq.w     A7, 4
  2510. 00001982  6034                     bra        +0x36 /* 000019B8 */
  2511. label00001984:
  2512. 00001984  2652                     movea.l    A3, [A2]
  2513. 00001986  2F6B 0008 0008           move.l     [A7 + 0x8], [A3 + 0x8]
  2514. 0000198C  2F6B 000C 000C           move.l     [A7 + 0xC], [A3 + 0xC]
  2515. 00001992  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  2516. 00001996  4EAD DD40                jsr        [A5 - 0x22C0]
  2517. 0000199A  486F 000C                pea.l      [A7 + 0xC]
  2518. 0000199E  A8A1                     syscall    FrameRect
  2519. 000019A0  486F 000C                pea.l      [A7 + 0xC]
  2520. 000019A4  2F3C 0001 0001           move.l     -[A7], 0x10001
  2521. 000019AA  A8A9                     syscall    InsetRect
  2522. 000019AC  486F 000C                pea.l      [A7 + 0xC]
  2523. 000019B0  A8A3                     syscall    EraseRect
  2524. 000019B2  4EAD DD48                jsr        [A5 - 0x22B8]
  2525. 000019B6  584F                     addq.w     A7, 4
  2526. label000019B8:
  2527. 000019B8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2528. 000019BC  4CDF 0C00                movem.l    A2,A3, [A7]+
  2529. 000019C0  4E75                     rts
  2530. fn000019C2:
  2531. 000019C2  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2532. 000019C6  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2533. 000019CA  266F 0028                movea.l    A3, [A7 + 0x28]
  2534. 000019CE  3A2F 002C                move.w     D5, [A7 + 0x2C]
  2535. 000019D2  382F 002E                move.w     D4, [A7 + 0x2E]
  2536. 000019D6  200B                     move.l     D0, A3
  2537. 000019D8  676A                     beq        +0x6C /* 00001A44 */
  2538. 000019DA  2F0B                     move.l     -[A7], A3
  2539. 000019DC  4EBA FED2                jsr        [PC - 0x12E /* 000018B0 */]
  2540. 000019E0  1600                     move.b     D3, D0
  2541. 000019E2  2453                     movea.l    A2, [A3]
  2542. 000019E4  2F6A 0008 000C           move.l     [A7 + 0xC], [A2 + 0x8]
  2543. 000019EA  2F6A 000C 0010           move.l     [A7 + 0x10], [A2 + 0xC]
  2544. 000019F0  3545 000A                move.w     [A2 + 0xA], D5
  2545. 000019F4  3544 0008                move.w     [A2 + 0x8], D4
  2546. 000019F8  302F 0034                move.w     D0, [A7 + 0x34]
  2547. 000019FC  48C0                     ext.l      D0
  2548. 000019FE  3205                     move.w     D1, D5
  2549. 00001A00  48C1                     ext.l      D1
  2550. 00001A02  D280                     add.l      D1, D0
  2551. 00001A04  3541 000E                move.w     [A2 + 0xE], D1
  2552. 00001A08  302F 0036                move.w     D0, [A7 + 0x36]
  2553. 00001A0C  48C0                     ext.l      D0
  2554. 00001A0E  3204                     move.w     D1, D4
  2555. 00001A10  48C1                     ext.l      D1
  2556. 00001A12  D280                     add.l      D1, D0
  2557. 00001A14  3541 000C                move.w     [A2 + 0xC], D1
  2558. 00001A18  0C03 0002                cmpi.b     D3, 0x2
  2559. 00001A1C  584F                     addq.w     A7, 4
  2560. 00001A1E  6724                     beq        +0x26 /* 00001A44 */
  2561. 00001A20  2EAA 0008                move.l     [A7], [A2 + 0x8]
  2562. 00001A24  2F6A 000C 0004           move.l     [A7 + 0x4], [A2 + 0xC]
  2563. 00001A2A  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  2564. 00001A2E  4EAD DD40                jsr        [A5 - 0x22C0]
  2565. 00001A32  486F 000C                pea.l      [A7 + 0xC]
  2566. 00001A36  A928                     syscall    InvalRect
  2567. 00001A38  486F 0004                pea.l      [A7 + 0x4]
  2568. 00001A3C  A928                     syscall    InvalRect
  2569. 00001A3E  4EAD DD48                jsr        [A5 - 0x22B8]
  2570. 00001A42  584F                     addq.w     A7, 4
  2571. label00001A44:
  2572. 00001A44  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2573. 00001A48  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2574. 00001A4C  4E75                     rts
  2575. fn00001A4E:
  2576. 00001A4E  48E7 1030                movem.l    -[A7], D3,A2,A3
  2577. 00001A52  246F 0010                movea.l    A2, [A7 + 0x10]
  2578. 00001A56  200A                     move.l     D0, A2
  2579. 00001A58  6758                     beq        +0x5A /* 00001AB2 */
  2580. 00001A5A  2652                     movea.l    A3, [A2]
  2581. 00001A5C  7600                     moveq.l    D3, 0x00
  2582. 00001A5E  2F0A                     move.l     -[A7], A2
  2583. 00001A60  4EBA FE4E                jsr        [PC - 0x1B2 /* 000018B0 */]
  2584. 00001A64  7200                     moveq.l    D1, 0x00
  2585. 00001A66  1200                     move.b     D1, D0
  2586. 00001A68  584F                     addq.w     A7, 4
  2587. 00001A6A  4A81                     tst.l      D1
  2588. 00001A6C  671A                     beq        +0x1C /* 00001A88 */
  2589. 00001A6E  5381                     subq.l     D1, 1
  2590. 00001A70  670C                     beq        +0xE /* 00001A7E */
  2591. 00001A72  5381                     subq.l     D1, 1
  2592. 00001A74  6702                     beq        +0x4 /* 00001A78 */
  2593. 00001A76  6018                     bra        +0x1A /* 00001A90 */
  2594. label00001A78:
  2595. 00001A78  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2596. 00001A7C  4E75                     rts
  2597. label00001A7E:
  2598. 00001A7E  4A2B 0010                tst.b      [A3 + 0x10]
  2599. 00001A82  670C                     beq        +0xE /* 00001A90 */
  2600. 00001A84  7601                     moveq.l    D3, 0x01
  2601. 00001A86  6008                     bra        +0xA /* 00001A90 */
  2602. label00001A88:
  2603. 00001A88  4A2B 0010                tst.b      [A3 + 0x10]
  2604. 00001A8C  6602                     bne        +0x4 /* 00001A90 */
  2605. 00001A8E  7601                     moveq.l    D3, 0x01
  2606. label00001A90:
  2607. 00001A90  4A83                     tst.l      D3
  2608. 00001A92  671E                     beq        +0x20 /* 00001AB2 */
  2609. 00001A94  4A2B 0010                tst.b      [A3 + 0x10]
  2610. 00001A98  670C                     beq        +0xE /* 00001AA6 */
  2611. 00001A9A  42A7                     clr.l      -[A7]
  2612. 00001A9C  2F0A                     move.l     -[A7], A2
  2613. 00001A9E  4EBA EB86                jsr        [PC - 0x147A /* 00000626 */]
  2614. 00001AA2  504F                     addq.w     A7, 8
  2615. 00001AA4  600C                     bra        +0xE /* 00001AB2 */
  2616. label00001AA6:
  2617. 00001AA6  4878 0001                push.l     0x1
  2618. 00001AAA  2F0A                     move.l     -[A7], A2
  2619. 00001AAC  4EBA EB78                jsr        [PC - 0x1488 /* 00000626 */]
  2620. 00001AB0  504F                     addq.w     A7, 8
  2621. label00001AB2:
  2622. 00001AB2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2623. 00001AB6  4E75                     rts
  2624. fn00001AB8:
  2625. 00001AB8  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  2626. 00001ABC  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  2627. 00001AC0  246F 0028                movea.l    A2, [A7 + 0x28]
  2628. 00001AC4  2A2F 002C                move.l     D5, [A7 + 0x2C]
  2629. 00001AC8  200A                     move.l     D0, A2
  2630. 00001ACA  6700 0110                beq        +0x112 /* 00001BDC */
  2631. 00001ACE  2005                     move.l     D0, D5
  2632. 00001AD0  223C 0000 7FFF           move.l     D1, 0x7FFF
  2633. 00001AD6  4EAD D904                jsr        [A5 - 0x26FC]
  2634. 00001ADA  5280                     addq.l     D0, 1
  2635. 00001ADC  2800                     move.l     D4, D0
  2636. 00001ADE  2F04                     move.l     -[A7], D4
  2637. 00001AE0  2F0A                     move.l     -[A7], A2
  2638. 00001AE2  4EBA 028A                jsr        [PC + 0x28A /* 00001D6E */]
  2639. 00001AE6  2005                     move.l     D0, D5
  2640. 00001AE8  2204                     move.l     D1, D4
  2641. 00001AEA  4EAD D904                jsr        [A5 - 0x26FC]
  2642. 00001AEE  2F40 0008                move.l     [A7 + 0x8], D0
  2643. 00001AF2  2005                     move.l     D0, D5
  2644. 00001AF4  2204                     move.l     D1, D4
  2645. 00001AF6  4EAD D910                jsr        [A5 - 0x26F0]
  2646. 00001AFA  4A80                     tst.l      D0
  2647. 00001AFC  56C0                     sne        D0
  2648. 00001AFE  4400                     neg.b      D0
  2649. 00001B00  4880                     ext.w      D0
  2650. 00001B02  48C0                     ext.l      D0
  2651. 00001B04  D0AF 0008                add.l      D0, [A7 + 0x8]
  2652. 00001B08  3600                     move.w     D3, D0
  2653. 00001B0A  2F0A                     move.l     -[A7], A2
  2654. 00001B0C  4EBA FDA2                jsr        [PC - 0x25E /* 000018B0 */]
  2655. 00001B10  7200                     moveq.l    D1, 0x00
  2656. 00001B12  1200                     move.b     D1, D0
  2657. 00001B14  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2658. 00001B18  4A81                     tst.l      D1
  2659. 00001B1A  670C                     beq        +0xE /* 00001B28 */
  2660. 00001B1C  5381                     subq.l     D1, 1
  2661. 00001B1E  6708                     beq        +0xA /* 00001B28 */
  2662. 00001B20  5381                     subq.l     D1, 1
  2663. 00001B22  677C                     beq        +0x7E /* 00001BA0 */
  2664. 00001B24  6000 00B6                bra        +0xB8 /* 00001BDC */
  2665. label00001B28:
  2666. 00001B28  3F03                     move.w     -[A7], D3
  2667. 00001B2A  2F0A                     move.l     -[A7], A2
  2668. 00001B2C  4EBA 0148                jsr        [PC + 0x148 /* 00001C76 */]
  2669. 00001B30  5500                     subq.b     D0, 2
  2670. 00001B32  5C4F                     addq.w     A7, 6
  2671. 00001B34  6618                     bne        +0x1A /* 00001B4E */
  2672. 00001B36  42A7                     clr.l      -[A7]
  2673. 00001B38  2F0A                     move.l     -[A7], A2
  2674. 00001B3A  4EBA EAEA                jsr        [PC - 0x1516 /* 00000626 */]
  2675. 00001B3E  3F03                     move.w     -[A7], D3
  2676. 00001B40  2F0A                     move.l     -[A7], A2
  2677. 00001B42  4EBA 01FC                jsr        [PC + 0x1FC /* 00001D40 */]
  2678. 00001B46  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2679. 00001B4A  6000 0090                bra        +0x92 /* 00001BDC */
  2680. label00001B4E:
  2681. 00001B4E  2652                     movea.l    A3, [A2]
  2682. 00001B50  286B 0004                movea.l    A4, [A3 + 0x4]
  2683. 00001B54  2F6B 0008 0004           move.l     [A7 + 0x4], [A3 + 0x8]
  2684. 00001B5A  2F6B 000C 0008           move.l     [A7 + 0x8], [A3 + 0xC]
  2685. 00001B60  2F0C                     move.l     -[A7], A4
  2686. 00001B62  4EAD DD40                jsr        [A5 - 0x22C0]
  2687. 00001B66  486F 0008                pea.l      [A7 + 0x8]
  2688. 00001B6A  4EAD DD50                jsr        [A5 - 0x22B0]
  2689. 00001B6E  486F 000C                pea.l      [A7 + 0xC]
  2690. 00001B72  2F0C                     move.l     -[A7], A4
  2691. 00001B74  4EAD DDA8                jsr        [A5 - 0x2258]
  2692. 00001B78  2F0A                     move.l     -[A7], A2
  2693. 00001B7A  3F03                     move.w     -[A7], D3
  2694. 00001B7C  A965                     syscall    SetControlMaximum/SetMaxCtl
  2695. 00001B7E  4EAD DD58                jsr        [A5 - 0x22A8]
  2696. 00001B82  4EAD DD48                jsr        [A5 - 0x22B8]
  2697. 00001B86  2052                     movea.l    A0, [A2]
  2698. 00001B88  4A28 0010                tst.b      [A0 + 0x10]
  2699. 00001B8C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2700. 00001B90  664A                     bne        +0x4C /* 00001BDC */
  2701. 00001B92  4878 0001                push.l     0x1
  2702. 00001B96  2F0A                     move.l     -[A7], A2
  2703. 00001B98  4EBA EA8C                jsr        [PC - 0x1574 /* 00000626 */]
  2704. 00001B9C  504F                     addq.w     A7, 8
  2705. 00001B9E  603C                     bra        +0x3E /* 00001BDC */
  2706. label00001BA0:
  2707. 00001BA0  2052                     movea.l    A0, [A2]
  2708. 00001BA2  4A28 0010                tst.b      [A0 + 0x10]
  2709. 00001BA6  6608                     bne        +0xA /* 00001BB0 */
  2710. 00001BA8  2F0A                     move.l     -[A7], A2
  2711. 00001BAA  3F03                     move.w     -[A7], D3
  2712. 00001BAC  A965                     syscall    SetControlMaximum/SetMaxCtl
  2713. 00001BAE  600A                     bra        +0xC /* 00001BBA */
  2714. label00001BB0:
  2715. 00001BB0  3F03                     move.w     -[A7], D3
  2716. 00001BB2  2F0A                     move.l     -[A7], A2
  2717. 00001BB4  4EBA 018A                jsr        [PC + 0x18A /* 00001D40 */]
  2718. 00001BB8  5C4F                     addq.w     A7, 6
  2719. label00001BBA:
  2720. 00001BBA  3F03                     move.w     -[A7], D3
  2721. 00001BBC  2F0A                     move.l     -[A7], A2
  2722. 00001BBE  4EBA 00B6                jsr        [PC + 0xB6 /* 00001C76 */]
  2723. 00001BC2  1800                     move.b     D4, D0
  2724. 00001BC4  4A04                     tst.b      D4
  2725. 00001BC6  5C4F                     addq.w     A7, 6
  2726. 00001BC8  6706                     beq        +0x8 /* 00001BD0 */
  2727. 00001BCA  0C04 0001                cmpi.b     D4, 0x1
  2728. 00001BCE  660C                     bne        +0xE /* 00001BDC */
  2729. label00001BD0:
  2730. 00001BD0  4878 0001                push.l     0x1
  2731. 00001BD4  2F0A                     move.l     -[A7], A2
  2732. 00001BD6  4EBA EA4E                jsr        [PC - 0x15B2 /* 00000626 */]
  2733. 00001BDA  504F                     addq.w     A7, 8
  2734. label00001BDC:
  2735. 00001BDC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2736. 00001BE0  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  2737. 00001BE4  4E75                     rts
  2738. fn00001BE6:
  2739. 00001BE6  594F                     subq.w     A7, 4
  2740. 00001BE8  594F                     subq.w     A7, 4
  2741. 00001BEA  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2742. 00001BEE  A95A                     syscall    GetControlReference/GetCRefCon
  2743. 00001BF0  201F                     move.l     D0, [A7]+
  2744. 00001BF2  2E80                     move.l     [A7], D0
  2745. 00001BF4  554F                     subq.w     A7, 2
  2746. 00001BF6  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2747. 00001BFA  A962                     syscall    GetControlMaximum/GetMaxCtl
  2748. 00001BFC  301F                     move.w     D0, [A7]+
  2749. 00001BFE  48C0                     ext.l      D0
  2750. 00001C00  2217                     move.l     D1, [A7]
  2751. 00001C02  4EAD D8F8                jsr        [A5 - 0x2708]
  2752. 00001C06  584F                     addq.w     A7, 4
  2753. 00001C08  4E75                     rts
  2754. fn00001C0A:
  2755. 00001C0A  594F                     subq.w     A7, 4
  2756. 00001C0C  594F                     subq.w     A7, 4
  2757. 00001C0E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2758. 00001C12  A95A                     syscall    GetControlReference/GetCRefCon
  2759. 00001C14  201F                     move.l     D0, [A7]+
  2760. 00001C16  2E80                     move.l     [A7], D0
  2761. 00001C18  554F                     subq.w     A7, 2
  2762. 00001C1A  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2763. 00001C1E  A960                     syscall    GetControlValue/GetCtlValue
  2764. 00001C20  301F                     move.w     D0, [A7]+
  2765. 00001C22  48C0                     ext.l      D0
  2766. 00001C24  2217                     move.l     D1, [A7]
  2767. 00001C26  4EAD D8F8                jsr        [A5 - 0x2708]
  2768. 00001C2A  584F                     addq.w     A7, 4
  2769. 00001C2C  4E75                     rts
  2770. fn00001C2E:
  2771. 00001C2E  48E7 1820                movem.l    -[A7], D3,D4,A2
  2772. 00001C32  594F                     subq.w     A7, 4
  2773. 00001C34  246F 0014                movea.l    A2, [A7 + 0x14]
  2774. 00001C38  282F 0018                move.l     D4, [A7 + 0x18]
  2775. 00001C3C  594F                     subq.w     A7, 4
  2776. 00001C3E  2F0A                     move.l     -[A7], A2
  2777. 00001C40  A95A                     syscall    GetControlReference/GetCRefCon
  2778. 00001C42  201F                     move.l     D0, [A7]+
  2779. 00001C44  2600                     move.l     D3, D0
  2780. 00001C46  2F0A                     move.l     -[A7], A2
  2781. 00001C48  2004                     move.l     D0, D4
  2782. 00001C4A  2203                     move.l     D1, D3
  2783. 00001C4C  4EAD D904                jsr        [A5 - 0x26FC]
  2784. 00001C50  2F40 0004                move.l     [A7 + 0x4], D0
  2785. 00001C54  2004                     move.l     D0, D4
  2786. 00001C56  2203                     move.l     D1, D3
  2787. 00001C58  4EAD D910                jsr        [A5 - 0x26F0]
  2788. 00001C5C  4A80                     tst.l      D0
  2789. 00001C5E  56C0                     sne        D0
  2790. 00001C60  4400                     neg.b      D0
  2791. 00001C62  4880                     ext.w      D0
  2792. 00001C64  48C0                     ext.l      D0
  2793. 00001C66  D0AF 0004                add.l      D0, [A7 + 0x4]
  2794. 00001C6A  3F00                     move.w     -[A7], D0
  2795. 00001C6C  A963                     syscall    SetControlValue/SetCtlValue
  2796. 00001C6E  584F                     addq.w     A7, 4
  2797. 00001C70  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  2798. 00001C74  4E75                     rts
  2799. fn00001C76:
  2800. 00001C76  48E7 0030                movem.l    -[A7], A2,A3
  2801. 00001C7A  266F 000C                movea.l    A3, [A7 + 0xC]
  2802. 00001C7E  2453                     movea.l    A2, [A3]
  2803. 00001C80  554F                     subq.w     A7, 2
  2804. 00001C82  2F3C 5653 434C           move.l     -[A7], 0x5653434C /* 'VSCL' */
  2805. 00001C88  A80D                     syscall    Count1Resources
  2806. 00001C8A  301F                     move.w     D0, [A7]+
  2807. 00001C8C  6714                     beq        +0x16 /* 00001CA2 */
  2808. 00001C8E  302A 0008                move.w     D0, [A2 + 0x8]
  2809. 00001C92  48C0                     ext.l      D0
  2810. 00001C94  322A 000C                move.w     D1, [A2 + 0xC]
  2811. 00001C98  48C1                     ext.l      D1
  2812. 00001C9A  9280                     sub.l      D1, D0
  2813. 00001C9C  7010                     moveq.l    D0, 0x10
  2814. 00001C9E  B280                     cmp.l      D1, D0
  2815. 00001CA0  6612                     bne        +0x14 /* 00001CB4 */
  2816. label00001CA2:
  2817. 00001CA2  302F 0010                move.w     D0, [A7 + 0x10]
  2818. 00001CA6  B06A 0014                cmp.w      D0, [A2 + 0x14]
  2819. 00001CAA  6E08                     bgt        +0xA /* 00001CB4 */
  2820. 00001CAC  7002                     moveq.l    D0, 0x02
  2821. 00001CAE  4CDF 0C00                movem.l    A2,A3, [A7]+
  2822. 00001CB2  4E75                     rts
  2823. label00001CB4:
  2824. 00001CB4  2053                     movea.l    A0, [A3]
  2825. 00001CB6  2468 0004                movea.l    A2, [A0 + 0x4]
  2826. 00001CBA  4A2A 006F                tst.b      [A2 + 0x6F]
  2827. 00001CBE  660A                     bne        +0xC /* 00001CCA */
  2828. 00001CC0  4A2A 006E                tst.b      [A2 + 0x6E]
  2829. 00001CC4  6704                     beq        +0x6 /* 00001CCA */
  2830. 00001CC6  7000                     moveq.l    D0, 0x00
  2831. 00001CC8  6002                     bra        +0x4 /* 00001CCC */
  2832. label00001CCA:
  2833. 00001CCA  7001                     moveq.l    D0, 0x01
  2834. label00001CCC:
  2835. 00001CCC  4A80                     tst.l      D0
  2836. 00001CCE  670C                     beq        +0xE /* 00001CDC */
  2837. 00001CD0  2F0B                     move.l     -[A7], A3
  2838. 00001CD2  4EBA 0018                jsr        [PC + 0x18 /* 00001CEC */]
  2839. 00001CD6  4A80                     tst.l      D0
  2840. 00001CD8  584F                     addq.w     A7, 4
  2841. 00001CDA  6608                     bne        +0xA /* 00001CE4 */
  2842. label00001CDC:
  2843. 00001CDC  7001                     moveq.l    D0, 0x01
  2844. 00001CDE  4CDF 0C00                movem.l    A2,A3, [A7]+
  2845. 00001CE2  4E75                     rts
  2846. label00001CE4:
  2847. 00001CE4  7000                     moveq.l    D0, 0x00
  2848. 00001CE6  4CDF 0C00                movem.l    A2,A3, [A7]+
  2849. 00001CEA  4E75                     rts
  2850. fn00001CEC:
  2851. 00001CEC  48E7 1020                movem.l    -[A7], D3,A2
  2852. 00001CF0  206F 000C                movea.l    A0, [A7 + 0xC]
  2853. 00001CF4  2450                     movea.l    A2, [A0]
  2854. 00001CF6  7600                     moveq.l    D3, 0x00
  2855. 00001CF8  302A 000A                move.w     D0, [A2 + 0xA]
  2856. 00001CFC  48C0                     ext.l      D0
  2857. 00001CFE  322A 000E                move.w     D1, [A2 + 0xE]
  2858. 00001D02  48C1                     ext.l      D1
  2859. 00001D04  9280                     sub.l      D1, D0
  2860. 00001D06  7010                     moveq.l    D0, 0x10
  2861. 00001D08  B280                     cmp.l      D1, D0
  2862. 00001D0A  6610                     bne        +0x12 /* 00001D1C */
  2863. 00001D0C  302A 0008                move.w     D0, [A2 + 0x8]
  2864. 00001D10  48C0                     ext.l      D0
  2865. 00001D12  362A 000C                move.w     D3, [A2 + 0xC]
  2866. 00001D16  48C3                     ext.l      D3
  2867. 00001D18  9680                     sub.l      D3, D0
  2868. 00001D1A  600E                     bra        +0x10 /* 00001D2A */
  2869. label00001D1C:
  2870. 00001D1C  302A 000A                move.w     D0, [A2 + 0xA]
  2871. 00001D20  48C0                     ext.l      D0
  2872. 00001D22  362A 000E                move.w     D3, [A2 + 0xE]
  2873. 00001D26  48C3                     ext.l      D3
  2874. 00001D28  9680                     sub.l      D3, D0
  2875. label00001D2A:
  2876. 00001D2A  3003                     move.w     D0, D3
  2877. 00001D2C  48C0                     ext.l      D0
  2878. 00001D2E  7230                     moveq.l    D1, 0x30
  2879. 00001D30  B081                     cmp.l      D0, D1
  2880. 00001D32  5CC0                     sge        D0
  2881. 00001D34  4400                     neg.b      D0
  2882. 00001D36  4880                     ext.w      D0
  2883. 00001D38  48C0                     ext.l      D0
  2884. 00001D3A  4CDF 0408                movem.l    D3,A2, [A7]+
  2885. 00001D3E  4E75                     rts
  2886. fn00001D40:
  2887. 00001D40  206F 0004                movea.l    A0, [A7 + 0x4]
  2888. 00001D44  2250                     movea.l    A1, [A0]
  2889. 00001D46  336F 0008 0016           move.w     [A1 + 0x16], [A7 + 0x8]
  2890. 00001D4C  3029 0016                move.w     D0, [A1 + 0x16]
  2891. 00001D50  B069 0014                cmp.w      D0, [A1 + 0x14]
  2892. 00001D54  6C06                     bge        +0x8 /* 00001D5C */
  2893. 00001D56  3369 0014 0016           move.w     [A1 + 0x16], [A1 + 0x14]
  2894. label00001D5C:
  2895. 00001D5C  3029 0012                move.w     D0, [A1 + 0x12]
  2896. 00001D60  B069 0016                cmp.w      D0, [A1 + 0x16]
  2897. 00001D64  6F06                     ble        +0x8 /* 00001D6C */
  2898. 00001D66  3369 0016 0012           move.w     [A1 + 0x12], [A1 + 0x16]
  2899. label00001D6C:
  2900. 00001D6C  4E75                     rts
  2901. fn00001D6E:
  2902. 00001D6E  48E7 1820                movem.l    -[A7], D3,D4,A2
  2903. 00001D72  246F 0010                movea.l    A2, [A7 + 0x10]
  2904. 00001D76  282F 0014                move.l     D4, [A7 + 0x14]
  2905. 00001D7A  594F                     subq.w     A7, 4
  2906. 00001D7C  2F0A                     move.l     -[A7], A2
  2907. 00001D7E  A95A                     syscall    GetControlReference/GetCRefCon
  2908. 00001D80  201F                     move.l     D0, [A7]+
  2909. 00001D82  B880                     cmp.l      D4, D0
  2910. 00001D84  6724                     beq        +0x26 /* 00001DAA */
  2911. 00001D86  2F0A                     move.l     -[A7], A2
  2912. 00001D88  4EBA FE80                jsr        [PC - 0x180 /* 00001C0A */]
  2913. 00001D8C  2600                     move.l     D3, D0
  2914. 00001D8E  2F0A                     move.l     -[A7], A2
  2915. 00001D90  2F04                     move.l     -[A7], D4
  2916. 00001D92  A95B                     syscall    SetControlReference/SetCRefCon
  2917. 00001D94  2F0A                     move.l     -[A7], A2
  2918. 00001D96  4EBA FE72                jsr        [PC - 0x18E /* 00001C0A */]
  2919. 00001D9A  B680                     cmp.l      D3, D0
  2920. 00001D9C  504F                     addq.w     A7, 8
  2921. 00001D9E  670A                     beq        +0xC /* 00001DAA */
  2922. 00001DA0  2F03                     move.l     -[A7], D3
  2923. 00001DA2  2F0A                     move.l     -[A7], A2
  2924. 00001DA4  4EBA FE88                jsr        [PC - 0x178 /* 00001C2E */]
  2925. 00001DA8  504F                     addq.w     A7, 8
  2926. label00001DAA:
  2927. 00001DAA  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  2928. 00001DAE  4E75                     rts
  2929. 00001DB0  206D 9D6E                movea.l    A0, [A5 - 0x6292]
  2930. 00001DB4  4E75                     rts
  2931. 00001DB6  2B6F 0004 9D6E           move.l     [A5 - 0x6292], [A7 + 0x4]
  2932. 00001DBC  4E75                     rts
  2933. fn00001DBE:
  2934. 00001DBE  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2935. 00001DC2  594F                     subq.w     A7, 4
  2936. 00001DC4  266F 002C                movea.l    A3, [A7 + 0x2C]
  2937. 00001DC8  282F 0038                move.l     D4, [A7 + 0x38]
  2938. 00001DCC  7C00                     moveq.l    D6, 0x00
  2939. 00001DCE  42A7                     clr.l      -[A7]
  2940. 00001DD0  4EBA F864                jsr        [PC - 0x79C /* 00001636 */]
  2941. 00001DD4  1F3C 0006                move.b     -[A7], 0x6
  2942. 00001DD8  2F0B                     move.l     -[A7], A3
  2943. 00001DDA  4EAD E818                jsr        [A5 - 0x17E8]
  2944. 00001DDE  3610                     move.w     D3, [A0]
  2945. 00001DE0  2F04                     move.l     -[A7], D4
  2946. 00001DE2  3F03                     move.w     -[A7], D3
  2947. 00001DE4  4EAD E8A8                jsr        [A5 - 0x1758]
  2948. 00001DE8  2448                     movea.l    A2, A0
  2949. 00001DEA  42A7                     clr.l      -[A7]
  2950. 00001DEC  3F03                     move.w     -[A7], D3
  2951. 00001DEE  4EAD E2F0                jsr        [A5 - 0x1D10]
  2952. 00001DF2  B880                     cmp.l      D4, D0
  2953. 00001DF4  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2954. 00001DF8  662C                     bne        +0x2E /* 00001E26 */
  2955. 00001DFA  200A                     move.l     D0, A2
  2956. 00001DFC  6710                     beq        +0x12 /* 00001E0E */
  2957. 00001DFE  200A                     move.l     D0, A2
  2958. 00001E00  6724                     beq        +0x26 /* 00001E26 */
  2959. 00001E02  2F0A                     move.l     -[A7], A2
  2960. 00001E04  4EAD E848                jsr        [A5 - 0x17B8]
  2961. 00001E08  4A00                     tst.b      D0
  2962. 00001E0A  584F                     addq.w     A7, 4
  2963. 00001E0C  6718                     beq        +0x1A /* 00001E26 */
  2964. label00001E0E:
  2965. 00001E0E  95CA                     sub.l      A2, A2
  2966. 00001E10  4227                     clr.b      -[A7]
  2967. 00001E12  1F3C 000F                move.b     -[A7], 0xF
  2968. 00001E16  2F0B                     move.l     -[A7], A3
  2969. 00001E18  4EAD E818                jsr        [A5 - 0x17E8]
  2970. 00001E1C  5C4F                     addq.w     A7, 6
  2971. 00001E1E  2F10                     move.l     -[A7], [A0]
  2972. 00001E20  4EBA EDB6                jsr        [PC - 0x124A /* 00000BD8 */]
  2973. 00001E24  5C4F                     addq.w     A7, 6
  2974. label00001E26:
  2975. 00001E26  200A                     move.l     D0, A2
  2976. 00001E28  672C                     beq        +0x2E /* 00001E56 */
  2977. 00001E2A  2F0A                     move.l     -[A7], A2
  2978. 00001E2C  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  2979. 00001E30  4E90                     jsr        [A0]
  2980. 00001E32  42A7                     clr.l      -[A7]
  2981. 00001E34  42A7                     clr.l      -[A7]
  2982. 00001E36  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  2983. 00001E3A  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  2984. 00001E3E  2F0A                     move.l     -[A7], A2
  2985. 00001E40  4EBA 0734                jsr        [PC + 0x734 /* 00002576 */]
  2986. 00001E44  2F0A                     move.l     -[A7], A2
  2987. 00001E46  206D 133E                movea.l    A0, [A5 + 0x133E]
  2988. 00001E4A  4E90                     jsr        [A0]
  2989. 00001E4C  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2990. 00001E50  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2991. 00001E54  4E75                     rts
  2992. label00001E56:
  2993. 00001E56  2F0B                     move.l     -[A7], A3
  2994. 00001E58  4EAD E408                jsr        [A5 - 0x1BF8]
  2995. 00001E5C  42A7                     clr.l      -[A7]
  2996. 00001E5E  3F03                     move.w     -[A7], D3
  2997. 00001E60  4EAD E2F0                jsr        [A5 - 0x1D10]
  2998. 00001E64  B880                     cmp.l      D4, D0
  2999. 00001E66  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3000. 00001E6A  6704                     beq        +0x6 /* 00001E70 */
  3001. 00001E6C  7002                     moveq.l    D0, 0x02
  3002. 00001E6E  6002                     bra        +0x4 /* 00001E72 */
  3003. label00001E70:
  3004. 00001E70  7000                     moveq.l    D0, 0x00
  3005. label00001E72:
  3006. 00001E72  1A00                     move.b     D5, D0
  3007. 00001E74  1F3C 0005                move.b     -[A7], 0x5
  3008. 00001E78  2F0B                     move.l     -[A7], A3
  3009. 00001E7A  4EAD E818                jsr        [A5 - 0x17E8]
  3010. 00001E7E  2848                     movea.l    A4, A0
  3011. 00001E80  1F3C 0007                move.b     -[A7], 0x7
  3012. 00001E84  2F0B                     move.l     -[A7], A3
  3013. 00001E86  4EAD E818                jsr        [A5 - 0x17E8]
  3014. 00001E8A  2F48 000C                move.l     [A7 + 0xC], A0
  3015. 00001E8E  2F04                     move.l     -[A7], D4
  3016. 00001E90  3F03                     move.w     -[A7], D3
  3017. 00001E92  4EAD E2D0                jsr        [A5 - 0x1D30]
  3018. 00001E96  1E00                     move.b     D7, D0
  3019. 00001E98  4A05                     tst.b      D5
  3020. 00001E9A  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3021. 00001E9E  6606                     bne        +0x8 /* 00001EA6 */
  3022. 00001EA0  2C4C                     movea.l    A6, A4
  3023. 00001EA2  5C8E                     addq.l     A6, 6
  3024. 00001EA4  6004                     bra        +0x6 /* 00001EAA */
  3025. label00001EA6:
  3026. 00001EA6  4DED B64E                lea.l      A6, [A5 - 0x49B2]
  3027. label00001EAA:
  3028. 00001EAA  2B6F 0030 B64A           move.l     [A5 - 0x49B6], [A7 + 0x30]
  3029. 00001EB0  2B6F 0034 9D6A           move.l     [A5 - 0x6296], [A7 + 0x34]
  3030. 00001EB6  2B44 9D66                move.l     [A5 - 0x629A], D4
  3031. 00001EBA  42A7                     clr.l      -[A7]
  3032. 00001EBC  4878 0001                push.l     0x1
  3033. 00001EC0  1007                     move.b     D0, D7
  3034. 00001EC2  7210                     moveq.l    D1, 0x10
  3035. 00001EC4  C081                     and.l      D0, D1
  3036. 00001EC6  56C0                     sne        D0
  3037. 00001EC8  4400                     neg.b      D0
  3038. 00001ECA  4880                     ext.w      D0
  3039. 00001ECC  48C0                     ext.l      D0
  3040. 00001ECE  2F00                     move.l     -[A7], D0
  3041. 00001ED0  4878 0001                push.l     0x1
  3042. 00001ED4  1F05                     move.b     -[A7], D5
  3043. 00001ED6  206F 0012                movea.l    A0, [A7 + 0x12]
  3044. 00001EDA  3F10                     move.w     -[A7], [A0]
  3045. 00001EDC  3F03                     move.w     -[A7], D3
  3046. 00001EDE  2F0E                     move.l     -[A7], A6
  3047. 00001EE0  2F0C                     move.l     -[A7], A4
  3048. 00001EE2  4EAD E778                jsr        [A5 - 0x1888]
  3049. 00001EE6  2448                     movea.l    A2, A0
  3050. 00001EE8  1F3C 000F                move.b     -[A7], 0xF
  3051. 00001EEC  2F0B                     move.l     -[A7], A3
  3052. 00001EEE  4EAD E818                jsr        [A5 - 0x17E8]
  3053. 00001EF2  5C4F                     addq.w     A7, 6
  3054. 00001EF4  2F10                     move.l     -[A7], [A0]
  3055. 00001EF6  2F0A                     move.l     -[A7], A2
  3056. 00001EF8  4EAD E770                jsr        [A5 - 0x1890]
  3057. 00001EFC  70FF                     moveq.l    D0, 0xFFFFFFFF
  3058. 00001EFE  2B40 B64A                move.l     [A5 - 0x49B6], D0
  3059. 00001F02  42AD 9D6A                clr.l      [A5 - 0x6296]
  3060. 00001F06  4EBA EF14                jsr        [PC - 0x10EC /* 00000E1C */]
  3061. 00001F0A  200A                     move.l     D0, A2
  3062. 00001F0C  4FEF 0026                lea.l      A7, [A7 + 0x26]
  3063. 00001F10  6612                     bne        +0x14 /* 00001F24 */
  3064. 00001F12  554F                     subq.w     A7, 2
  3065. 00001F14  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3066. 00001F18  301F                     move.w     D0, [A7]+
  3067. 00001F1A  3C00                     move.w     D6, D0
  3068. 00001F1C  584F                     addq.w     A7, 4
  3069. 00001F1E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3070. 00001F22  4E75                     rts
  3071. label00001F24:
  3072. 00001F24  0C05 0002                cmpi.b     D5, 0x2
  3073. 00001F28  6612                     bne        +0x14 /* 00001F3C */
  3074. 00001F2A  4AAD 9D6E                tst.l      [A5 - 0x6292]
  3075. 00001F2E  6708                     beq        +0xA /* 00001F38 */
  3076. 00001F30  2F2D 9D6E                move.l     -[A7], [A5 - 0x6292]
  3077. 00001F34  4EAD DF80                jsr        [A5 - 0x2080]
  3078. label00001F38:
  3079. 00001F38  2B4A 9D6E                move.l     [A5 - 0x6292], A2
  3080. label00001F3C:
  3081. 00001F3C  4A46                     tst.w      D6
  3082. 00001F3E  670E                     beq        +0x10 /* 00001F4E */
  3083. 00001F40  3F06                     move.w     -[A7], D6
  3084. 00001F42  3F3C 0002                move.w     -[A7], 0x2
  3085. 00001F46  4EAD DE98                jsr        [A5 - 0x2168]
  3086. 00001F4A  584F                     addq.w     A7, 4
  3087. 00001F4C  6014                     bra        +0x16 /* 00001F62 */
  3088. label00001F4E:
  3089. 00001F4E  1007                     move.b     D0, D7
  3090. 00001F50  7210                     moveq.l    D1, 0x10
  3091. 00001F52  C081                     and.l      D0, D1
  3092. 00001F54  670C                     beq        +0xE /* 00001F62 */
  3093. 00001F56  4878 0001                push.l     0x1
  3094. 00001F5A  2F0A                     move.l     -[A7], A2
  3095. 00001F5C  4EAD DFC0                jsr        [A5 - 0x2040]
  3096. 00001F60  504F                     addq.w     A7, 8
  3097. label00001F62:
  3098. 00001F62  584F                     addq.w     A7, 4
  3099. 00001F64  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3100. 00001F68  4E75                     rts
  3101. fn00001F6A:
  3102. 00001F6A  206F 0004                movea.l    A0, [A7 + 0x4]
  3103. 00001F6E  20AD 9D6A                move.l     [A0], [A5 - 0x6296]
  3104. 00001F72  202D B64A                move.l     D0, [A5 - 0x49B6]
  3105. 00001F76  4E75                     rts
  3106. 00001F78  202D 9D66                move.l     D0, [A5 - 0x629A]
  3107. 00001F7C  4E75                     rts
  3108. fn00001F7E:
  3109. 00001F7E  2F0A                     move.l     -[A7], A2
  3110. 00001F80  246F 0008                movea.l    A2, [A7 + 0x8]
  3111. 00001F84  200A                     move.l     D0, A2
  3112. 00001F86  671A                     beq        +0x1C /* 00001FA2 */
  3113. 00001F88  4878 0008                push.l     0x8
  3114. 00001F8C  3F3C 0001                move.w     -[A7], 0x1
  3115. 00001F90  4878 0024                push.l     0x24 /* '$' */
  3116. 00001F94  2F0A                     move.l     -[A7], A2
  3117. 00001F96  4EAD DE18                jsr        [A5 - 0x21E8]
  3118. 00001F9A  204A                     movea.l    A0, A2
  3119. 00001F9C  A023                     syscall    DisposHandle/DisposeHandle
  3120. 00001F9E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3121. label00001FA2:
  3122. 00001FA2  245F                     movea.l    A2, [A7]+
  3123. 00001FA4  4E75                     rts
  3124. 00001FA6  2F0A                     move.l     -[A7], A2
  3125. 00001FA8  246F 0008                movea.l    A2, [A7 + 0x8]
  3126. 00001FAC  4AAD B650                tst.l      [A5 - 0x49B0]
  3127. 00001FB0  6C1C                     bge        +0x1E /* 00001FCE */
  3128. 00001FB2  554F                     subq.w     A7, 2
  3129. 00001FB4  2F3C 4953 454C           move.l     -[A7], 0x4953454C /* 'ISEL' */
  3130. 00001FBA  A80D                     syscall    Count1Resources
  3131. 00001FBC  301F                     move.w     D0, [A7]+
  3132. 00001FBE  48C0                     ext.l      D0
  3133. 00001FC0  4A80                     tst.l      D0
  3134. 00001FC2  5EC0                     sgt        D0
  3135. 00001FC4  4400                     neg.b      D0
  3136. 00001FC6  4880                     ext.w      D0
  3137. 00001FC8  48C0                     ext.l      D0
  3138. 00001FCA  2B40 B650                move.l     [A5 - 0x49B0], D0
  3139. label00001FCE:
  3140. 00001FCE  41ED EAB0                lea.l      A0, [A5 - 0x1550]
  3141. 00001FD2  2488                     move.l     [A2], A0
  3142. 00001FD4  41ED EAB8                lea.l      A0, [A5 - 0x1548]
  3143. 00001FD8  2548 0004                move.l     [A2 + 0x4], A0
  3144. 00001FDC  41ED EAC8                lea.l      A0, [A5 - 0x1538]
  3145. 00001FE0  2548 0008                move.l     [A2 + 0x8], A0
  3146. 00001FE4  41ED EAC0                lea.l      A0, [A5 - 0x1540]
  3147. 00001FE8  2548 000C                move.l     [A2 + 0xC], A0
  3148. 00001FEC  41ED EAF0                lea.l      A0, [A5 - 0x1510]
  3149. 00001FF0  2548 0010                move.l     [A2 + 0x10], A0
  3150. 00001FF4  41ED EAD0                lea.l      A0, [A5 - 0x1530]
  3151. 00001FF8  2548 0018                move.l     [A2 + 0x18], A0
  3152. 00001FFC  41ED EAE8                lea.l      A0, [A5 - 0x1518]
  3153. 00002000  2548 0014                move.l     [A2 + 0x14], A0
  3154. 00002004  41ED EB08                lea.l      A0, [A5 - 0x14F8]
  3155. 00002008  2548 001C                move.l     [A2 + 0x1C], A0
  3156. 0000200C  41ED EB10                lea.l      A0, [A5 - 0x14F0]
  3157. 00002010  2548 0020                move.l     [A2 + 0x20], A0
  3158. 00002014  41ED EB18                lea.l      A0, [A5 - 0x14E8]
  3159. 00002018  2548 0024                move.l     [A2 + 0x24], A0
  3160. 0000201C  41ED EB20                lea.l      A0, [A5 - 0x14E0]
  3161. 00002020  2548 0028                move.l     [A2 + 0x28], A0
  3162. 00002024  41ED EB00                lea.l      A0, [A5 - 0x1500]
  3163. 00002028  2548 002C                move.l     [A2 + 0x2C], A0
  3164. 0000202C  41ED EAF8                lea.l      A0, [A5 - 0x1508]
  3165. 00002030  2548 0030                move.l     [A2 + 0x30], A0
  3166. 00002034  41ED EB28                lea.l      A0, [A5 - 0x14D8]
  3167. 00002038  2548 0034                move.l     [A2 + 0x34], A0
  3168. 0000203C  41ED EAD8                lea.l      A0, [A5 - 0x1528]
  3169. 00002040  2548 0038                move.l     [A2 + 0x38], A0
  3170. 00002044  41ED EAE0                lea.l      A0, [A5 - 0x1520]
  3171. 00002048  2548 003C                move.l     [A2 + 0x3C], A0
  3172. 0000204C  245F                     movea.l    A2, [A7]+
  3173. 0000204E  4E75                     rts
  3174. fn00002050:
  3175. 00002050  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  3176. 00002054  2A2F 0024                move.l     D5, [A7 + 0x24]
  3177. 00002058  2C6F 002A                movea.l    A6, [A7 + 0x2A]
  3178. 0000205C  286F 002E                movea.l    A4, [A7 + 0x2E]
  3179. 00002060  2F05                     move.l     -[A7], D5
  3180. 00002062  4EAD DD40                jsr        [A5 - 0x22C0]
  3181. 00002066  4227                     clr.b      -[A7]
  3182. 00002068  4878 FF9C                push.l     0xFF9C
  3183. 0000206C  2F05                     move.l     -[A7], D5
  3184. 0000206E  4EAD E830                jsr        [A5 - 0x17D0]
  3185. 00002072  2648                     movea.l    A3, A0
  3186. 00002074  200B                     move.l     D0, A3
  3187. 00002076  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3188. 0000207A  6700 00C8                beq        +0xCA /* 00002144 */
  3189. 0000207E  4AAB 0050                tst.l      [A3 + 0x50]
  3190. 00002082  6700 00C0                beq        +0xC2 /* 00002144 */
  3191. 00002086  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  3192. 0000208A  4EAD DD80                jsr        [A5 - 0x2280]
  3193. 0000208E  2448                     movea.l    A2, A0
  3194. 00002090  2F0A                     move.l     -[A7], A2
  3195. 00002092  4EBA 43B2                jsr        [PC + 0x43B2 /* 00006446 */]
  3196. 00002096  2600                     move.l     D3, D0
  3197. 00002098  2F0A                     move.l     -[A7], A2
  3198. 0000209A  4EBA 43C8                jsr        [PC + 0x43C8 /* 00006464 */]
  3199. 0000209E  2800                     move.l     D4, D0
  3200. 000020A0  206F 003E                movea.l    A0, [A7 + 0x3E]
  3201. 000020A4  70FF                     moveq.l    D0, 0xFFFFFFFF
  3202. 000020A6  2080                     move.l     [A0], D0
  3203. 000020A8  7000                     moveq.l    D0, 0x00
  3204. 000020AA  102F 0034                move.b     D0, [A7 + 0x34]
  3205. 000020AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3206. 000020B2  4A80                     tst.l      D0
  3207. 000020B4  6706                     beq        +0x8 /* 000020BC */
  3208. 000020B6  5380                     subq.l     D0, 1
  3209. 000020B8  6708                     beq        +0xA /* 000020C2 */
  3210. 000020BA  607C                     bra        +0x7E /* 00002138 */
  3211. label000020BC:
  3212. 000020BC  2C83                     move.l     [A6], D3
  3213. 000020BE  2884                     move.l     [A4], D4
  3214. 000020C0  6076                     bra        +0x78 /* 00002138 */
  3215. label000020C2:
  3216. 000020C2  B696                     cmp.l      D3, [A6]
  3217. 000020C4  6604                     bne        +0x6 /* 000020CA */
  3218. 000020C6  B894                     cmp.l      D4, [A4]
  3219. 000020C8  676E                     beq        +0x70 /* 00002138 */
  3220. label000020CA:
  3221. 000020CA  4AAA 0096                tst.l      [A2 + 0x96]
  3222. 000020CE  6768                     beq        +0x6A /* 00002138 */
  3223. 000020D0  4AAA 009A                tst.l      [A2 + 0x9A]
  3224. 000020D4  6762                     beq        +0x64 /* 00002138 */
  3225. 000020D6  2045                     movea.l    A0, D5
  3226. 000020D8  4868 0010                pea.l      [A0 + 0x10]
  3227. 000020DC  4EAD DD50                jsr        [A5 - 0x22B0]
  3228. 000020E0  4EAD DF98                jsr        [A5 - 0x2068]
  3229. 000020E4  2F16                     move.l     -[A7], [A6]
  3230. 000020E6  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  3231. 000020EA  4EBA FB42                jsr        [PC - 0x4BE /* 00001C2E */]
  3232. 000020EE  2F14                     move.l     -[A7], [A4]
  3233. 000020F0  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  3234. 000020F4  4EBA FB38                jsr        [PC - 0x4C8 /* 00001C2E */]
  3235. 000020F8  4EAD DD58                jsr        [A5 - 0x22A8]
  3236. 000020FC  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  3237. 00002100  4EBA FB08                jsr        [PC - 0x4F8 /* 00001C0A */]
  3238. 00002104  2203                     move.l     D1, D3
  3239. 00002106  9280                     sub.l      D1, D0
  3240. 00002108  2C01                     move.l     D6, D1
  3241. 0000210A  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  3242. 0000210E  4EBA FAFA                jsr        [PC - 0x506 /* 00001C0A */]
  3243. 00002112  2204                     move.l     D1, D4
  3244. 00002114  9280                     sub.l      D1, D0
  3245. 00002116  2601                     move.l     D3, D1
  3246. 00002118  4A86                     tst.l      D6
  3247. 0000211A  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3248. 0000211E  6604                     bne        +0x6 /* 00002124 */
  3249. 00002120  4A83                     tst.l      D3
  3250. 00002122  6714                     beq        +0x16 /* 00002138 */
  3251. label00002124:
  3252. 00002124  4878 0001                push.l     0x1
  3253. 00002128  2F03                     move.l     -[A7], D3
  3254. 0000212A  2F06                     move.l     -[A7], D6
  3255. 0000212C  2F0A                     move.l     -[A7], A2
  3256. 0000212E  2F0B                     move.l     -[A7], A3
  3257. 00002130  4EBA 3594                jsr        [PC + 0x3594 /* 000056C6 */]
  3258. 00002134  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3259. label00002138:
  3260. 00002138  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  3261. 0000213C  4EAD DD88                jsr        [A5 - 0x2278]
  3262. 00002140  584F                     addq.w     A7, 4
  3263. 00002142  6004                     bra        +0x6 /* 00002148 */
  3264. label00002144:
  3265. 00002144  4294                     clr.l      [A4]
  3266. 00002146  4296                     clr.l      [A6]
  3267. label00002148:
  3268. 00002148  1F3C 0002                move.b     -[A7], 0x2
  3269. 0000214C  42A7                     clr.l      -[A7]
  3270. 0000214E  2F05                     move.l     -[A7], D5
  3271. 00002150  4EAD E830                jsr        [A5 - 0x17D0]
  3272. 00002154  4EAD DD48                jsr        [A5 - 0x22B8]
  3273. 00002158  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3274. 0000215C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  3275. 00002160  4E75                     rts
  3276. 00002162  48E7 0030                movem.l    -[A7], A2,A3
  3277. 00002166  266F 000C                movea.l    A3, [A7 + 0xC]
  3278. 0000216A  0C2F 0001 0010           cmpi.b     [A7 + 0x10], 0x1
  3279. 00002170  6640                     bne        +0x42 /* 000021B2 */
  3280. 00002172  1F3C 0001                move.b     -[A7], 0x1
  3281. 00002176  4878 FF9C                push.l     0xFF9C
  3282. 0000217A  2F0B                     move.l     -[A7], A3
  3283. 0000217C  4EAD E830                jsr        [A5 - 0x17D0]
  3284. 00002180  2448                     movea.l    A2, A0
  3285. 00002182  200A                     move.l     D0, A2
  3286. 00002184  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3287. 00002188  6710                     beq        +0x12 /* 0000219A */
  3288. 0000218A  4AAA 0050                tst.l      [A2 + 0x50]
  3289. 0000218E  670A                     beq        +0xC /* 0000219A */
  3290. 00002190  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3291. 00002194  4EAD DD88                jsr        [A5 - 0x2278]
  3292. 00002198  584F                     addq.w     A7, 4
  3293. label0000219A:
  3294. 0000219A  1F3C 0002                move.b     -[A7], 0x2
  3295. 0000219E  42A7                     clr.l      -[A7]
  3296. 000021A0  2F0B                     move.l     -[A7], A3
  3297. 000021A2  4EAD E830                jsr        [A5 - 0x17D0]
  3298. 000021A6  91C8                     sub.l      A0, A0
  3299. 000021A8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3300. 000021AC  4CDF 0C00                movem.l    A2,A3, [A7]+
  3301. 000021B0  4E75                     rts
  3302. label000021B2:
  3303. 000021B2  4227                     clr.b      -[A7]
  3304. 000021B4  4878 FF9C                push.l     0xFF9C
  3305. 000021B8  2F0B                     move.l     -[A7], A3
  3306. 000021BA  4EAD E830                jsr        [A5 - 0x17D0]
  3307. 000021BE  2448                     movea.l    A2, A0
  3308. 000021C0  200A                     move.l     D0, A2
  3309. 000021C2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3310. 000021C6  671A                     beq        +0x1C /* 000021E2 */
  3311. 000021C8  4AAA 0050                tst.l      [A2 + 0x50]
  3312. 000021CC  6714                     beq        +0x16 /* 000021E2 */
  3313. 000021CE  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3314. 000021D2  4EAD DD80                jsr        [A5 - 0x2280]
  3315. 000021D6  41E8 0048                lea.l      A0, [A0 + 0x48]
  3316. 000021DA  584F                     addq.w     A7, 4
  3317. 000021DC  4CDF 0C00                movem.l    A2,A3, [A7]+
  3318. 000021E0  4E75                     rts
  3319. label000021E2:
  3320. 000021E2  91C8                     sub.l      A0, A0
  3321. 000021E4  4CDF 0C00                movem.l    A2,A3, [A7]+
  3322. 000021E8  4E75                     rts
  3323. fn000021EA:
  3324. 000021EA  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3325. 000021EE  594F                     subq.w     A7, 4
  3326. 000021F0  286F 0020                movea.l    A4, [A7 + 0x20]
  3327. 000021F4  2A2F 0024                move.l     D5, [A7 + 0x24]
  3328. 000021F8  7600                     moveq.l    D3, 0x00
  3329. 000021FA  2F0C                     move.l     -[A7], A4
  3330. 000021FC  4EAD DD40                jsr        [A5 - 0x22C0]
  3331. 00002200  4227                     clr.b      -[A7]
  3332. 00002202  4878 FF9C                push.l     0xFF9C
  3333. 00002206  2F0C                     move.l     -[A7], A4
  3334. 00002208  4EAD E830                jsr        [A5 - 0x17D0]
  3335. 0000220C  2448                     movea.l    A2, A0
  3336. 0000220E  200A                     move.l     D0, A2
  3337. 00002210  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3338. 00002214  6700 00B6                beq        +0xB8 /* 000022CC */
  3339. 00002218  4AAA 0050                tst.l      [A2 + 0x50]
  3340. 0000221C  6700 00AE                beq        +0xB0 /* 000022CC */
  3341. 00002220  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3342. 00002224  4EAD DD80                jsr        [A5 - 0x2280]
  3343. 00002228  2648                     movea.l    A3, A0
  3344. 0000222A  4A85                     tst.l      D5
  3345. 0000222C  584F                     addq.w     A7, 4
  3346. 0000222E  677C                     beq        +0x7E /* 000022AC */
  3347. 00002230  1F3C 0001                move.b     -[A7], 0x1
  3348. 00002234  2F0C                     move.l     -[A7], A4
  3349. 00002236  4EAD E818                jsr        [A5 - 0x17E8]
  3350. 0000223A  2610                     move.l     D3, [A0]
  3351. 0000223C  1F3C 0006                move.b     -[A7], 0x6
  3352. 00002240  2F0C                     move.l     -[A7], A4
  3353. 00002242  4EAD E818                jsr        [A5 - 0x17E8]
  3354. 00002246  3810                     move.w     D4, [A0]
  3355. 00002248  486F 000C                pea.l      [A7 + 0xC]
  3356. 0000224C  2F03                     move.l     -[A7], D3
  3357. 0000224E  3F04                     move.w     -[A7], D4
  3358. 00002250  4EAD E1F0                jsr        [A5 - 0x1E10]
  3359. 00002254  4A40                     tst.w      D0
  3360. 00002256  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3361. 0000225A  6666                     bne        +0x68 /* 000022C2 */
  3362. 0000225C  4AAF 0028                tst.l      [A7 + 0x28]
  3363. 00002260  6710                     beq        +0x12 /* 00002272 */
  3364. 00002262  4878 0001                push.l     0x1
  3365. 00002266  2F0B                     move.l     -[A7], A3
  3366. 00002268  2F0A                     move.l     -[A7], A2
  3367. 0000226A  4EBA 383C                jsr        [PC + 0x383C /* 00005AA8 */]
  3368. 0000226E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3369. label00002272:
  3370. 00002272  2057                     movea.l    A0, [A7]
  3371. 00002274  A04A                     syscall    HNoPurge
  3372. 00002276  42A7                     clr.l      -[A7]
  3373. 00002278  2F05                     move.l     -[A7], D5
  3374. 0000227A  2F2B 0092                move.l     -[A7], [A3 + 0x92]
  3375. 0000227E  2F2B 0076                move.l     -[A7], [A3 + 0x76]
  3376. 00002282  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  3377. 00002286  4EAD DAD2                jsr        [A5 - 0x252E]
  3378. 0000228A  206F 0014                movea.l    A0, [A7 + 0x14]
  3379. 0000228E  A049                     syscall    HPurge
  3380. 00002290  42A7                     clr.l      -[A7]
  3381. 00002292  4878 0001                push.l     0x1
  3382. 00002296  4878 0001                push.l     0x1
  3383. 0000229A  1F3C 0001                move.b     -[A7], 0x1
  3384. 0000229E  2F0B                     move.l     -[A7], A3
  3385. 000022A0  2F0A                     move.l     -[A7], A2
  3386. 000022A2  4EBA 31E0                jsr        [PC + 0x31E0 /* 00005484 */]
  3387. 000022A6  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  3388. 000022AA  6016                     bra        +0x18 /* 000022C2 */
  3389. label000022AC:
  3390. 000022AC  42A7                     clr.l      -[A7]
  3391. 000022AE  4878 0001                push.l     0x1
  3392. 000022B2  42A7                     clr.l      -[A7]
  3393. 000022B4  42A7                     clr.l      -[A7]
  3394. 000022B6  2F0B                     move.l     -[A7], A3
  3395. 000022B8  2F0A                     move.l     -[A7], A2
  3396. 000022BA  4EBA 327A                jsr        [PC + 0x327A /* 00005536 */]
  3397. 000022BE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3398. label000022C2:
  3399. 000022C2  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3400. 000022C6  4EAD DD88                jsr        [A5 - 0x2278]
  3401. 000022CA  584F                     addq.w     A7, 4
  3402. label000022CC:
  3403. 000022CC  1F3C 0002                move.b     -[A7], 0x2
  3404. 000022D0  42A7                     clr.l      -[A7]
  3405. 000022D2  2F0C                     move.l     -[A7], A4
  3406. 000022D4  4EAD E830                jsr        [A5 - 0x17D0]
  3407. 000022D8  4EAD DD48                jsr        [A5 - 0x22B8]
  3408. 000022DC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3409. 000022E0  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3410. 000022E4  4E75                     rts
  3411. 000022E6  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3412. 000022EA  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  3413. 000022EE  2C6F 003C                movea.l    A6, [A7 + 0x3C]
  3414. 000022F2  246F 0040                movea.l    A2, [A7 + 0x40]
  3415. 000022F6  7800                     moveq.l    D4, 0x00
  3416. 000022F8  2F0E                     move.l     -[A7], A6
  3417. 000022FA  4EAD DD40                jsr        [A5 - 0x22C0]
  3418. 000022FE  4227                     clr.b      -[A7]
  3419. 00002300  4878 FF9C                push.l     0xFF9C
  3420. 00002304  2F0E                     move.l     -[A7], A6
  3421. 00002306  4EAD E830                jsr        [A5 - 0x17D0]
  3422. 0000230A  2848                     movea.l    A4, A0
  3423. 0000230C  200C                     move.l     D0, A4
  3424. 0000230E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3425. 00002312  6700 0126                beq        +0x128 /* 0000243A */
  3426. 00002316  4AAC 0050                tst.l      [A4 + 0x50]
  3427. 0000231A  6700 011E                beq        +0x120 /* 0000243A */
  3428. 0000231E  2F2C 0050                move.l     -[A7], [A4 + 0x50]
  3429. 00002322  4EAD DD80                jsr        [A5 - 0x2280]
  3430. 00002326  2648                     movea.l    A3, A0
  3431. 00002328  2F52 001C                move.l     [A7 + 0x1C], [A2]
  3432. 0000232C  2F6A 0004 0020           move.l     [A7 + 0x20], [A2 + 0x4]
  3433. 00002332  486F 001C                pea.l      [A7 + 0x1C]
  3434. 00002336  A8AE                     syscall    EmptyRect
  3435. 00002338  101F                     move.b     D0, [A7]+
  3436. 0000233A  544F                     addq.w     A7, 2
  3437. 0000233C  6618                     bne        +0x1A /* 00002356 */
  3438. 0000233E  554F                     subq.w     A7, 2
  3439. 00002340  206C 0048                movea.l    A0, [A4 + 0x48]
  3440. 00002344  4868 0010                pea.l      [A0 + 0x10]
  3441. 00002348  486A 0008                pea.l      [A2 + 0x8]
  3442. 0000234C  A8A6                     syscall    EqualRect
  3443. 0000234E  101F                     move.b     D0, [A7]+
  3444. 00002350  6704                     beq        +0x6 /* 00002356 */
  3445. 00002352  7601                     moveq.l    D3, 0x01
  3446. 00002354  6002                     bra        +0x4 /* 00002358 */
  3447. label00002356:
  3448. 00002356  7600                     moveq.l    D3, 0x00
  3449. label00002358:
  3450. 00002358  082B 0006 00AE           btst.b     [A3 + 0xAE], 0x6
  3451. 0000235E  6766                     beq        +0x68 /* 000023C6 */
  3452. 00002360  4A83                     tst.l      D3
  3453. 00002362  6762                     beq        +0x64 /* 000023C6 */
  3454. 00002364  4A6D B48C                tst.w      [A5 - 0x4B74]
  3455. 00002368  675C                     beq        +0x5E /* 000023C6 */
  3456. 0000236A  2F6F 0018 0010           move.l     [A7 + 0x10], [A7 + 0x18]
  3457. 00002370  2F6F 001C 0014           move.l     [A7 + 0x14], [A7 + 0x1C]
  3458. 00002376  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  3459. 0000237A  42A7                     clr.l      -[A7]
  3460. 0000237C  486F 0018                pea.l      [A7 + 0x18]
  3461. 00002380  2F0B                     move.l     -[A7], A3
  3462. 00002382  2F0C                     move.l     -[A7], A4
  3463. 00002384  4EBA 34F6                jsr        [PC + 0x34F6 /* 0000587C */]
  3464. 00002388  4EAD DD70                jsr        [A5 - 0x2290]
  3465. 0000238C  486B 0018                pea.l      [A3 + 0x18]
  3466. 00002390  2F0C                     move.l     -[A7], A4
  3467. 00002392  4EBA 4D34                jsr        [PC + 0x4D34 /* 000070C8 */]
  3468. 00002396  4227                     clr.b      -[A7]
  3469. 00002398  2F0B                     move.l     -[A7], A3
  3470. 0000239A  2F0C                     move.l     -[A7], A4
  3471. 0000239C  4EBA 4644                jsr        [PC + 0x4644 /* 000069E2 */]
  3472. 000023A0  2F6F 0036 002E           move.l     [A7 + 0x2E], [A7 + 0x36]
  3473. 000023A6  2F6F 003A 0032           move.l     [A7 + 0x32], [A7 + 0x3A]
  3474. 000023AC  42A7                     clr.l      -[A7]
  3475. 000023AE  486B 0018                pea.l      [A3 + 0x18]
  3476. 000023B2  486F 0036                pea.l      [A7 + 0x36]
  3477. 000023B6  4EAD DBA4                jsr        [A5 - 0x245C]
  3478. 000023BA  4EAD DD58                jsr        [A5 - 0x22A8]
  3479. 000023BE  4EAD DD78                jsr        [A5 - 0x2288]
  3480. 000023C2  4FEF 0032                lea.l      A7, [A7 + 0x32]
  3481. label000023C6:
  3482. 000023C6  4878 0001                push.l     0x1
  3483. 000023CA  42A7                     clr.l      -[A7]
  3484. 000023CC  1F3C 0001                move.b     -[A7], 0x1
  3485. 000023D0  3F2A 001A                move.w     -[A7], [A2 + 0x1A]
  3486. 000023D4  3F2A 0018                move.w     -[A7], [A2 + 0x18]
  3487. 000023D8  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  3488. 000023DC  2F0B                     move.l     -[A7], A3
  3489. 000023DE  2F0C                     move.l     -[A7], A4
  3490. 000023E0  4EBA 225E                jsr        [PC + 0x225E /* 00004640 */]
  3491. 000023E4  3800                     move.w     D4, D0
  3492. 000023E6  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3493. 000023EA  670C                     beq        +0xE /* 000023F8 */
  3494. 000023EC  3004                     move.w     D0, D4
  3495. 000023EE  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3496. 000023F2  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3497. 000023F6  4E75                     rts
  3498. label000023F8:
  3499. 000023F8  4AAA 001C                tst.l      [A2 + 0x1C]
  3500. 000023FC  6D12                     blt        +0x14 /* 00002410 */
  3501. 000023FE  4878 0001                push.l     0x1
  3502. 00002402  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  3503. 00002406  2F0E                     move.l     -[A7], A6
  3504. 00002408  4EBA FDE0                jsr        [PC - 0x220 /* 000021EA */]
  3505. 0000240C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3506. label00002410:
  3507. 00002410  4A83                     tst.l      D3
  3508. 00002412  671C                     beq        +0x1E /* 00002430 */
  3509. 00002414  2EAF 0018                move.l     [A7], [A7 + 0x18]
  3510. 00002418  2F6F 001C 0004           move.l     [A7 + 0x4], [A7 + 0x1C]
  3511. 0000241E  3F2A 0016                move.w     -[A7], [A2 + 0x16]
  3512. 00002422  486F 0002                pea.l      [A7 + 0x2]
  3513. 00002426  2F0E                     move.l     -[A7], A6
  3514. 00002428  4EAD DF90                jsr        [A5 - 0x2070]
  3515. 0000242C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3516. label00002430:
  3517. 00002430  2F2C 0050                move.l     -[A7], [A4 + 0x50]
  3518. 00002434  4EAD DD88                jsr        [A5 - 0x2278]
  3519. 00002438  584F                     addq.w     A7, 4
  3520. label0000243A:
  3521. 0000243A  1F3C 0002                move.b     -[A7], 0x2
  3522. 0000243E  42A7                     clr.l      -[A7]
  3523. 00002440  2F0E                     move.l     -[A7], A6
  3524. 00002442  4EAD E830                jsr        [A5 - 0x17D0]
  3525. 00002446  4EAD DD48                jsr        [A5 - 0x22B8]
  3526. 0000244A  3004                     move.w     D0, D4
  3527. 0000244C  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  3528. 00002450  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3529. 00002454  4E75                     rts
  3530. fn00002456:
  3531. 00002456  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  3532. 0000245A  514F                     subq.w     A7, 8
  3533. 0000245C  266F 0020                movea.l    A3, [A7 + 0x20]
  3534. 00002460  262F 0024                move.l     D3, [A7 + 0x24]
  3535. 00002464  2A2F 0028                move.l     D5, [A7 + 0x28]
  3536. 00002468  7800                     moveq.l    D4, 0x00
  3537. 0000246A  2F0B                     move.l     -[A7], A3
  3538. 0000246C  4EAD DD40                jsr        [A5 - 0x22C0]
  3539. 00002470  4227                     clr.b      -[A7]
  3540. 00002472  486F 0006                pea.l      [A7 + 0x6]
  3541. 00002476  486F 000E                pea.l      [A7 + 0xE]
  3542. 0000247A  2F0B                     move.l     -[A7], A3
  3543. 0000247C  4EAD E838                jsr        [A5 - 0x17C8]
  3544. 00002480  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3545. 00002484  6000 009A                bra        +0x9C /* 00002520 */
  3546. label00002488:
  3547. 00002488  206F 0004                movea.l    A0, [A7 + 0x4]
  3548. 0000248C  BAA8 0054                cmp.l      D5, [A0 + 0x54]
  3549. 00002490  6600 008E                bne        +0x90 /* 00002520 */
  3550. 00002494  2048                     movea.l    A0, A0
  3551. 00002496  4AA8 0050                tst.l      [A0 + 0x50]
  3552. 0000249A  6700 00A0                beq        +0xA2 /* 0000253C */
  3553. 0000249E  206F 0004                movea.l    A0, [A7 + 0x4]
  3554. 000024A2  2F28 0050                move.l     -[A7], [A0 + 0x50]
  3555. 000024A6  4EAD DD80                jsr        [A5 - 0x2280]
  3556. 000024AA  2448                     movea.l    A2, A0
  3557. 000024AC  B6AA 003C                cmp.l      D3, [A2 + 0x3C]
  3558. 000024B0  584F                     addq.w     A7, 4
  3559. 000024B2  675C                     beq        +0x5E /* 00002510 */
  3560. 000024B4  256A 0026 0010           move.l     [A2 + 0x10], [A2 + 0x26]
  3561. 000024BA  256A 002A 0014           move.l     [A2 + 0x14], [A2 + 0x2A]
  3562. 000024C0  4878 0001                push.l     0x1
  3563. 000024C4  42A7                     clr.l      -[A7]
  3564. 000024C6  1F3C 0002                move.b     -[A7], 0x2
  3565. 000024CA  42A7                     clr.l      -[A7]
  3566. 000024CC  2F03                     move.l     -[A7], D3
  3567. 000024CE  2F0A                     move.l     -[A7], A2
  3568. 000024D0  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  3569. 000024D4  4EBA 216A                jsr        [PC + 0x216A /* 00004640 */]
  3570. 000024D8  3800                     move.w     D4, D0
  3571. 000024DA  2543 003C                move.l     [A2 + 0x3C], D3
  3572. 000024DE  2F0A                     move.l     -[A7], A2
  3573. 000024E0  4EBA 4E8E                jsr        [PC + 0x4E8E /* 00007370 */]
  3574. 000024E4  256A 0010 0018           move.l     [A2 + 0x18], [A2 + 0x10]
  3575. 000024EA  256A 0014 001C           move.l     [A2 + 0x1C], [A2 + 0x14]
  3576. 000024F0  2F0A                     move.l     -[A7], A2
  3577. 000024F2  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  3578. 000024F6  4EBA 37DC                jsr        [PC + 0x37DC /* 00005CD4 */]
  3579. 000024FA  1F3C 0002                move.b     -[A7], 0x2
  3580. 000024FE  486A 0018                pea.l      [A2 + 0x18]
  3581. 00002502  2F0A                     move.l     -[A7], A2
  3582. 00002504  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  3583. 00002508  4EBA 26C6                jsr        [PC + 0x26C6 /* 00004BD0 */]
  3584. 0000250C  4FEF 0034                lea.l      A7, [A7 + 0x34]
  3585. label00002510:
  3586. 00002510  206F 0004                movea.l    A0, [A7 + 0x4]
  3587. 00002514  2F28 0050                move.l     -[A7], [A0 + 0x50]
  3588. 00002518  4EAD DD88                jsr        [A5 - 0x2278]
  3589. 0000251C  584F                     addq.w     A7, 4
  3590. 0000251E  601C                     bra        +0x1E /* 0000253C */
  3591. label00002520:
  3592. 00002520  1F3C 0001                move.b     -[A7], 0x1
  3593. 00002524  486F 0002                pea.l      [A7 + 0x2]
  3594. 00002528  486F 000A                pea.l      [A7 + 0xA]
  3595. 0000252C  2F0B                     move.l     -[A7], A3
  3596. 0000252E  4EAD E838                jsr        [A5 - 0x17C8]
  3597. 00002532  4A80                     tst.l      D0
  3598. 00002534  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3599. 00002538  6600 FF4E                bne        -0xB0 /* 00002488 */
  3600. label0000253C:
  3601. 0000253C  1F3C 0002                move.b     -[A7], 0x2
  3602. 00002540  486F 0002                pea.l      [A7 + 0x2]
  3603. 00002544  486F 000A                pea.l      [A7 + 0xA]
  3604. 00002548  2F0B                     move.l     -[A7], A3
  3605. 0000254A  4EAD E838                jsr        [A5 - 0x17C8]
  3606. 0000254E  4A44                     tst.w      D4
  3607. 00002550  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3608. 00002554  6712                     beq        +0x14 /* 00002568 */
  3609. 00002556  3F04                     move.w     -[A7], D4
  3610. 00002558  3F3C 0002                move.w     -[A7], 0x2
  3611. 0000255C  4EAD DE98                jsr        [A5 - 0x2168]
  3612. 00002560  486B 0010                pea.l      [A3 + 0x10]
  3613. 00002564  A928                     syscall    InvalRect
  3614. 00002566  584F                     addq.w     A7, 4
  3615. label00002568:
  3616. 00002568  4EAD DD48                jsr        [A5 - 0x22B8]
  3617. 0000256C  3004                     move.w     D0, D4
  3618. 0000256E  504F                     addq.w     A7, 8
  3619. 00002570  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3620. 00002574  4E75                     rts
  3621. fn00002576:
  3622. 00002576  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3623. 0000257A  266F 001C                movea.l    A3, [A7 + 0x1C]
  3624. 0000257E  2A2F 0024                move.l     D5, [A7 + 0x24]
  3625. 00002582  7600                     moveq.l    D3, 0x00
  3626. 00002584  2F0B                     move.l     -[A7], A3
  3627. 00002586  4EAD DD40                jsr        [A5 - 0x22C0]
  3628. 0000258A  4227                     clr.b      -[A7]
  3629. 0000258C  4878 FF9C                push.l     0xFF9C
  3630. 00002590  2F0B                     move.l     -[A7], A3
  3631. 00002592  4EAD E830                jsr        [A5 - 0x17D0]
  3632. 00002596  2448                     movea.l    A2, A0
  3633. 00002598  200A                     move.l     D0, A2
  3634. 0000259A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3635. 0000259E  6758                     beq        +0x5A /* 000025F8 */
  3636. 000025A0  4AAA 0050                tst.l      [A2 + 0x50]
  3637. 000025A4  6752                     beq        +0x54 /* 000025F8 */
  3638. 000025A6  7801                     moveq.l    D4, 0x01
  3639. 000025A8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3640. 000025AC  4EAD DD80                jsr        [A5 - 0x2280]
  3641. 000025B0  2848                     movea.l    A4, A0
  3642. 000025B2  4878 0001                push.l     0x1
  3643. 000025B6  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  3644. 000025BA  1F04                     move.b     -[A7], D4
  3645. 000025BC  3F2F 0038                move.w     -[A7], [A7 + 0x38]
  3646. 000025C0  3F2F 0038                move.w     -[A7], [A7 + 0x38]
  3647. 000025C4  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  3648. 000025C8  2F0C                     move.l     -[A7], A4
  3649. 000025CA  2F0A                     move.l     -[A7], A2
  3650. 000025CC  4EBA 2072                jsr        [PC + 0x2072 /* 00004640 */]
  3651. 000025D0  3600                     move.w     D3, D0
  3652. 000025D2  4A43                     tst.w      D3
  3653. 000025D4  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  3654. 000025D8  6614                     bne        +0x16 /* 000025EE */
  3655. 000025DA  4A85                     tst.l      D5
  3656. 000025DC  6D10                     blt        +0x12 /* 000025EE */
  3657. 000025DE  4878 0001                push.l     0x1
  3658. 000025E2  2F05                     move.l     -[A7], D5
  3659. 000025E4  2F0B                     move.l     -[A7], A3
  3660. 000025E6  4EBA FC02                jsr        [PC - 0x3FE /* 000021EA */]
  3661. 000025EA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3662. label000025EE:
  3663. 000025EE  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3664. 000025F2  4EAD DD88                jsr        [A5 - 0x2278]
  3665. 000025F6  584F                     addq.w     A7, 4
  3666. label000025F8:
  3667. 000025F8  1F3C 0002                move.b     -[A7], 0x2
  3668. 000025FC  42A7                     clr.l      -[A7]
  3669. 000025FE  2F0B                     move.l     -[A7], A3
  3670. 00002600  4EAD E830                jsr        [A5 - 0x17D0]
  3671. 00002604  4A43                     tst.w      D3
  3672. 00002606  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3673. 0000260A  6712                     beq        +0x14 /* 0000261E */
  3674. 0000260C  3F03                     move.w     -[A7], D3
  3675. 0000260E  3F3C 0002                move.w     -[A7], 0x2
  3676. 00002612  4EAD DE98                jsr        [A5 - 0x2168]
  3677. 00002616  486B 0010                pea.l      [A3 + 0x10]
  3678. 0000261A  A928                     syscall    InvalRect
  3679. 0000261C  584F                     addq.w     A7, 4
  3680. label0000261E:
  3681. 0000261E  4EAD DD48                jsr        [A5 - 0x22B8]
  3682. 00002622  3003                     move.w     D0, D3
  3683. 00002624  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3684. 00002628  4E75                     rts
  3685. 0000262A  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  3686. 0000262E  246F 0018                movea.l    A2, [A7 + 0x18]
  3687. 00002632  282F 001C                move.l     D4, [A7 + 0x1C]
  3688. 00002636  4AAD 8D1E                tst.l      [A5 - 0x72E2]
  3689. 0000263A  6724                     beq        +0x26 /* 00002660 */
  3690. 0000263C  1F3C 0001                move.b     -[A7], 0x1
  3691. 00002640  2F0A                     move.l     -[A7], A2
  3692. 00002642  4EAD E818                jsr        [A5 - 0x17E8]
  3693. 00002646  2648                     movea.l    A3, A0
  3694. 00002648  42A7                     clr.l      -[A7]
  3695. 0000264A  42A7                     clr.l      -[A7]
  3696. 0000264C  42A7                     clr.l      -[A7]
  3697. 0000264E  2013                     move.l     D0, [A3]
  3698. 00002650  D084                     add.l      D0, D4
  3699. 00002652  2F00                     move.l     -[A7], D0
  3700. 00002654  2F0A                     move.l     -[A7], A2
  3701. 00002656  4EBA FF1E                jsr        [PC - 0xE2 /* 00002576 */]
  3702. 0000265A  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3703. 0000265E  6052                     bra        +0x54 /* 000026B2 */
  3704. label00002660:
  3705. 00002660  1F3C 0002                move.b     -[A7], 0x2
  3706. 00002664  2F0A                     move.l     -[A7], A2
  3707. 00002666  4EAD E818                jsr        [A5 - 0x17E8]
  3708. 0000266A  2610                     move.l     D3, [A0]
  3709. 0000266C  1F3C 0003                move.b     -[A7], 0x3
  3710. 00002670  2F0A                     move.l     -[A7], A2
  3711. 00002672  4EAD E818                jsr        [A5 - 0x17E8]
  3712. 00002676  2848                     movea.l    A4, A0
  3713. 00002678  2F03                     move.l     -[A7], D3
  3714. 0000267A  1F3C 0006                move.b     -[A7], 0x6
  3715. 0000267E  2F0A                     move.l     -[A7], A2
  3716. 00002680  4EAD E818                jsr        [A5 - 0x17E8]
  3717. 00002684  5C4F                     addq.w     A7, 6
  3718. 00002686  3F10                     move.w     -[A7], [A0]
  3719. 00002688  4EAD E1A8                jsr        [A5 - 0x1E58]
  3720. 0000268C  2648                     movea.l    A3, A0
  3721. 0000268E  200B                     move.l     D0, A3
  3722. 00002690  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3723. 00002694  671C                     beq        +0x1E /* 000026B2 */
  3724. 00002696  42A7                     clr.l      -[A7]
  3725. 00002698  42A7                     clr.l      -[A7]
  3726. 0000269A  42A7                     clr.l      -[A7]
  3727. 0000269C  D994                     add.l      [A4], D4
  3728. 0000269E  2014                     move.l     D0, [A4]
  3729. 000026A0  E588                     lsl        D0, 2
  3730. 000026A2  2053                     movea.l    A0, [A3]
  3731. 000026A4  2F30 0800                move.l     -[A7], [A0 + D0]
  3732. 000026A8  2F0A                     move.l     -[A7], A2
  3733. 000026AA  4EBA FECA                jsr        [PC - 0x136 /* 00002576 */]
  3734. 000026AE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3735. label000026B2:
  3736. 000026B2  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  3737. 000026B6  4E75                     rts
  3738. 000026B8  48E7 0030                movem.l    -[A7], A2,A3
  3739. 000026BC  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  3740. 000026C0  266F 0016                movea.l    A3, [A7 + 0x16]
  3741. 000026C4  4257                     clr.w      [A7]
  3742. 000026C6  2F0B                     move.l     -[A7], A3
  3743. 000026C8  4EAD DD40                jsr        [A5 - 0x22C0]
  3744. 000026CC  4227                     clr.b      -[A7]
  3745. 000026CE  4878 FF9C                push.l     0xFF9C
  3746. 000026D2  2F0B                     move.l     -[A7], A3
  3747. 000026D4  4EAD E830                jsr        [A5 - 0x17D0]
  3748. 000026D8  2448                     movea.l    A2, A0
  3749. 000026DA  200A                     move.l     D0, A2
  3750. 000026DC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3751. 000026E0  673C                     beq        +0x3E /* 0000271E */
  3752. 000026E2  4AAA 0050                tst.l      [A2 + 0x50]
  3753. 000026E6  6736                     beq        +0x38 /* 0000271E */
  3754. 000026E8  206F 001A                movea.l    A0, [A7 + 0x1A]
  3755. 000026EC  2F50 0002                move.l     [A7 + 0x2], [A0]
  3756. 000026F0  2F68 0004 0006           move.l     [A7 + 0x6], [A0 + 0x4]
  3757. 000026F6  42A7                     clr.l      -[A7]
  3758. 000026F8  486F 0006                pea.l      [A7 + 0x6]
  3759. 000026FC  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  3760. 00002700  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3761. 00002704  4EAD DD80                jsr        [A5 - 0x2280]
  3762. 00002708  584F                     addq.w     A7, 4
  3763. 0000270A  2F08                     move.l     -[A7], A0
  3764. 0000270C  2F0A                     move.l     -[A7], A2
  3765. 0000270E  4EBA 3D72                jsr        [PC + 0x3D72 /* 00006482 */]
  3766. 00002712  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3767. 00002716  4EAD DD88                jsr        [A5 - 0x2278]
  3768. 0000271A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3769. label0000271E:
  3770. 0000271E  1F3C 0002                move.b     -[A7], 0x2
  3771. 00002722  42A7                     clr.l      -[A7]
  3772. 00002724  2F0B                     move.l     -[A7], A3
  3773. 00002726  4EAD E830                jsr        [A5 - 0x17D0]
  3774. 0000272A  4EAD DD48                jsr        [A5 - 0x22B8]
  3775. 0000272E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3776. 00002732  4CDF 0C00                movem.l    A2,A3, [A7]+
  3777. 00002736  4E75                     rts
  3778. 00002738  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  3779. 0000273C  4FEF FFDC                lea.l      A7, [A7 - 0x24]
  3780. 00002740  246F 0044                movea.l    A2, [A7 + 0x44]
  3781. 00002744  266F 0048                movea.l    A3, [A7 + 0x48]
  3782. 00002748  2A2F 004C                move.l     D5, [A7 + 0x4C]
  3783. 0000274C  2C6F 0050                movea.l    A6, [A7 + 0x50]
  3784. 00002750  286F 0054                movea.l    A4, [A7 + 0x54]
  3785. 00002754  594F                     subq.w     A7, 4
  3786. 00002756  2F0A                     move.l     -[A7], A2
  3787. 00002758  4EAD D9AC                jsr        [A5 - 0x2654]
  3788. 0000275C  201F                     move.l     D0, [A7]+
  3789. 0000275E  2800                     move.l     D4, D0
  3790. 00002760  76FF                     moveq.l    D3, 0xFFFFFFFF
  3791. 00002762  2045                     movea.l    A0, D5
  3792. 00002764  4290                     clr.l      [A0]
  3793. 00002766  200B                     move.l     D0, A3
  3794. 00002768  6704                     beq        +0x6 /* 0000276E */
  3795. 0000276A  4A84                     tst.l      D4
  3796. 0000276C  660C                     bne        +0xE /* 0000277A */
  3797. label0000276E:
  3798. 0000276E  70FF                     moveq.l    D0, 0xFFFFFFFF
  3799. 00002770  4FEF 0024                lea.l      A7, [A7 + 0x24]
  3800. 00002774  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  3801. 00002778  4E75                     rts
  3802. label0000277A:
  3803. 0000277A  204B                     movea.l    A0, A3
  3804. 0000277C  A029                     syscall    HLock
  3805. 0000277E  2F4A 0008                move.l     [A7 + 0x8], A2
  3806. 00002782  594F                     subq.w     A7, 4
  3807. 00002784  2F0A                     move.l     -[A7], A2
  3808. 00002786  4EAD D9AC                jsr        [A5 - 0x2654]
  3809. 0000278A  201F                     move.l     D0, [A7]+
  3810. 0000278C  2F40 001C                move.l     [A7 + 0x1C], D0
  3811. 00002790  70FF                     moveq.l    D0, 0xFFFFFFFF
  3812. 00002792  2F40 0014                move.l     [A7 + 0x14], D0
  3813. 00002796  486D EB30                pea.l      [A5 - 0x14D0]
  3814. 0000279A  4878 0024                push.l     0x24 /* '$' */
  3815. 0000279E  594F                     subq.w     A7, 4
  3816. 000027A0  2F0B                     move.l     -[A7], A3
  3817. 000027A2  4EAD D9AC                jsr        [A5 - 0x2654]
  3818. 000027A6  201F                     move.l     D0, [A7]+
  3819. 000027A8  7224                     moveq.l    D1, 0x24
  3820. 000027AA  4EAD D8FE                jsr        [A5 - 0x2702]
  3821. 000027AE  2F00                     move.l     -[A7], D0
  3822. 000027B0  2F13                     move.l     -[A7], [A3]
  3823. 000027B2  486F 0010                pea.l      [A7 + 0x10]
  3824. 000027B6  4EAD D928                jsr        [A5 - 0x26D8]
  3825. 000027BA  2448                     movea.l    A2, A0
  3826. 000027BC  2008                     move.l     D0, A0
  3827. 000027BE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3828. 000027C2  671C                     beq        +0x1E /* 000027E0 */
  3829. 000027C4  6016                     bra        +0x18 /* 000027DC */
  3830. label000027C6:
  3831. 000027C6  486A FFDC                pea.l      [A2 - 0x24]
  3832. 000027CA  486F 0004                pea.l      [A7 + 0x4]
  3833. 000027CE  4EBA 29A8                jsr        [PC + 0x29A8 /* 00005178 */]
  3834. 000027D2  4A80                     tst.l      D0
  3835. 000027D4  504F                     addq.w     A7, 8
  3836. 000027D6  6608                     bne        +0xA /* 000027E0 */
  3837. 000027D8  7024                     moveq.l    D0, 0x24
  3838. 000027DA  95C0                     sub.l      A2, D0
  3839. label000027DC:
  3840. 000027DC  B5D3                     cmpa.l     A2, [A3]
  3841. 000027DE  62E6                     bhi        -0x18 /* 000027C6 */
  3842. label000027E0:
  3843. 000027E0  200A                     move.l     D0, A2
  3844. 000027E2  673C                     beq        +0x3E /* 00002820 */
  3845. 000027E4  200E                     move.l     D0, A6
  3846. 000027E6  670C                     beq        +0xE /* 000027F4 */
  3847. 000027E8  41D2                     lea.l      A0, [A2]
  3848. 000027EA  43D6                     lea.l      A1, [A6]
  3849. 000027EC  7008                     moveq.l    D0, 0x08
  3850. label000027EE:
  3851. 000027EE  22D8                     move.l     [A1]+, [A0]+
  3852. 000027F0  51C8 FFFC                dbf        D0, -0x6 /* 000027EE */
  3853. label000027F4:
  3854. 000027F4  200C                     move.l     D0, A4
  3855. 000027F6  670E                     beq        +0x10 /* 00002806 */
  3856. 000027F8  204A                     movea.l    A0, A2
  3857. 000027FA  91D3                     sub.l      A0, [A3]
  3858. 000027FC  2008                     move.l     D0, A0
  3859. 000027FE  7224                     moveq.l    D1, 0x24
  3860. 00002800  4EAD D904                jsr        [A5 - 0x26FC]
  3861. 00002804  2880                     move.l     [A4], D0
  3862. label00002806:
  3863. 00002806  0C2A 0002 0022           cmpi.b     [A2 + 0x22], 0x2
  3864. 0000280C  6706                     beq        +0x8 /* 00002814 */
  3865. 0000280E  202A 0014                move.l     D0, [A2 + 0x14]
  3866. 00002812  6002                     bra        +0x4 /* 00002816 */
  3867. label00002814:
  3868. 00002814  7000                     moveq.l    D0, 0x00
  3869. label00002816:
  3870. 00002816  2600                     move.l     D3, D0
  3871. 00002818  2045                     movea.l    A0, D5
  3872. 0000281A  7001                     moveq.l    D0, 0x01
  3873. 0000281C  2080                     move.l     [A0], D0
  3874. 0000281E  6002                     bra        +0x4 /* 00002822 */
  3875. label00002820:
  3876. 00002820  76FF                     moveq.l    D3, 0xFFFFFFFF
  3877. label00002822:
  3878. 00002822  204B                     movea.l    A0, A3
  3879. 00002824  A02A                     syscall    HUnlock
  3880. 00002826  2003                     move.l     D0, D3
  3881. 00002828  4FEF 0024                lea.l      A7, [A7 + 0x24]
  3882. 0000282C  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  3883. 00002830  4E75                     rts
  3884. 00002832  48E7 1030                movem.l    -[A7], D3,A2,A3
  3885. 00002836  266F 0010                movea.l    A3, [A7 + 0x10]
  3886. 0000283A  7600                     moveq.l    D3, 0x00
  3887. 0000283C  4227                     clr.b      -[A7]
  3888. 0000283E  4878 FF9C                push.l     0xFF9C
  3889. 00002842  2F0B                     move.l     -[A7], A3
  3890. 00002844  4EAD E830                jsr        [A5 - 0x17D0]
  3891. 00002848  2448                     movea.l    A2, A0
  3892. 0000284A  200A                     move.l     D0, A2
  3893. 0000284C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3894. 00002850  6738                     beq        +0x3A /* 0000288A */
  3895. 00002852  4AAA 0050                tst.l      [A2 + 0x50]
  3896. 00002856  6732                     beq        +0x34 /* 0000288A */
  3897. 00002858  2F0B                     move.l     -[A7], A3
  3898. 0000285A  4EAD DD40                jsr        [A5 - 0x22C0]
  3899. 0000285E  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3900. 00002862  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3901. 00002866  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3902. 0000286A  4EAD DD80                jsr        [A5 - 0x2280]
  3903. 0000286E  584F                     addq.w     A7, 4
  3904. 00002870  2F08                     move.l     -[A7], A0
  3905. 00002872  2F0A                     move.l     -[A7], A2
  3906. 00002874  4EBA 3182                jsr        [PC + 0x3182 /* 000059F8 */]
  3907. 00002878  2600                     move.l     D3, D0
  3908. 0000287A  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3909. 0000287E  4EAD DD88                jsr        [A5 - 0x2278]
  3910. 00002882  4EAD DD48                jsr        [A5 - 0x22B8]
  3911. 00002886  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3912. label0000288A:
  3913. 0000288A  1F3C 0002                move.b     -[A7], 0x2
  3914. 0000288E  42A7                     clr.l      -[A7]
  3915. 00002890  2F0B                     move.l     -[A7], A3
  3916. 00002892  4EAD E830                jsr        [A5 - 0x17D0]
  3917. 00002896  2003                     move.l     D0, D3
  3918. 00002898  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3919. 0000289C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3920. 000028A0  4E75                     rts
  3921. 000028A2  48E7 0038                movem.l    -[A7], A2,A3,A4
  3922. 000028A6  286F 0010                movea.l    A4, [A7 + 0x10]
  3923. 000028AA  97CB                     sub.l      A3, A3
  3924. 000028AC  4227                     clr.b      -[A7]
  3925. 000028AE  4878 FF9C                push.l     0xFF9C
  3926. 000028B2  2F0C                     move.l     -[A7], A4
  3927. 000028B4  4EAD E830                jsr        [A5 - 0x17D0]
  3928. 000028B8  2448                     movea.l    A2, A0
  3929. 000028BA  200A                     move.l     D0, A2
  3930. 000028BC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3931. 000028C0  6710                     beq        +0x12 /* 000028D2 */
  3932. 000028C2  4AAA 0050                tst.l      [A2 + 0x50]
  3933. 000028C6  670A                     beq        +0xC /* 000028D2 */
  3934. 000028C8  206A 0050                movea.l    A0, [A2 + 0x50]
  3935. 000028CC  2050                     movea.l    A0, [A0]
  3936. 000028CE  2668 008A                movea.l    A3, [A0 + 0x8A]
  3937. label000028D2:
  3938. 000028D2  1F3C 0002                move.b     -[A7], 0x2
  3939. 000028D6  42A7                     clr.l      -[A7]
  3940. 000028D8  2F0C                     move.l     -[A7], A4
  3941. 000028DA  4EAD E830                jsr        [A5 - 0x17D0]
  3942. 000028DE  204B                     movea.l    A0, A3
  3943. 000028E0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3944. 000028E4  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  3945. 000028E8  4E75                     rts
  3946. fn000028EA:
  3947. 000028EA  48E7 0038                movem.l    -[A7], A2,A3,A4
  3948. 000028EE  286F 0010                movea.l    A4, [A7 + 0x10]
  3949. 000028F2  4227                     clr.b      -[A7]
  3950. 000028F4  4878 FF9C                push.l     0xFF9C
  3951. 000028F8  2F0C                     move.l     -[A7], A4
  3952. 000028FA  4EAD E830                jsr        [A5 - 0x17D0]
  3953. 000028FE  2448                     movea.l    A2, A0
  3954. 00002900  200A                     move.l     D0, A2
  3955. 00002902  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3956. 00002906  674C                     beq        +0x4E /* 00002954 */
  3957. 00002908  4AAA 0050                tst.l      [A2 + 0x50]
  3958. 0000290C  6746                     beq        +0x48 /* 00002954 */
  3959. 0000290E  2F0C                     move.l     -[A7], A4
  3960. 00002910  4EAD DD40                jsr        [A5 - 0x22C0]
  3961. 00002914  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3962. 00002918  4EAD DD80                jsr        [A5 - 0x2280]
  3963. 0000291C  2648                     movea.l    A3, A0
  3964. 0000291E  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3965. 00002922  2F0B                     move.l     -[A7], A3
  3966. 00002924  2F0A                     move.l     -[A7], A2
  3967. 00002926  4EBA 3180                jsr        [PC + 0x3180 /* 00005AA8 */]
  3968. 0000292A  4AAB 0070                tst.l      [A3 + 0x70]
  3969. 0000292E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3970. 00002932  6712                     beq        +0x14 /* 00002946 */
  3971. 00002934  4227                     clr.b      -[A7]
  3972. 00002936  2F0B                     move.l     -[A7], A3
  3973. 00002938  2F0A                     move.l     -[A7], A2
  3974. 0000293A  4EBA 28FC                jsr        [PC + 0x28FC /* 00005238 */]
  3975. 0000293E  42AB 0070                clr.l      [A3 + 0x70]
  3976. 00002942  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3977. label00002946:
  3978. 00002946  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  3979. 0000294A  4EAD DD88                jsr        [A5 - 0x2278]
  3980. 0000294E  4EAD DD48                jsr        [A5 - 0x22B8]
  3981. 00002952  584F                     addq.w     A7, 4
  3982. label00002954:
  3983. 00002954  1F3C 0002                move.b     -[A7], 0x2
  3984. 00002958  42A7                     clr.l      -[A7]
  3985. 0000295A  2F0C                     move.l     -[A7], A4
  3986. 0000295C  4EAD E830                jsr        [A5 - 0x17D0]
  3987. 00002960  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3988. 00002964  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  3989. 00002968  4E75                     rts
  3990. fn0000296A:
  3991. 0000296A  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3992. 0000296E  282F 001C                move.l     D4, [A7 + 0x1C]
  3993. 00002972  262F 0020                move.l     D3, [A7 + 0x20]
  3994. 00002976  2C6F 0024                movea.l    A6, [A7 + 0x24]
  3995. 0000297A  286F 0028                movea.l    A4, [A7 + 0x28]
  3996. 0000297E  4227                     clr.b      -[A7]
  3997. 00002980  4878 FF9C                push.l     0xFF9C
  3998. 00002984  2F04                     move.l     -[A7], D4
  3999. 00002986  4EAD E830                jsr        [A5 - 0x17D0]
  4000. 0000298A  2648                     movea.l    A3, A0
  4001. 0000298C  200B                     move.l     D0, A3
  4002. 0000298E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4003. 00002992  6758                     beq        +0x5A /* 000029EC */
  4004. 00002994  4AAB 0050                tst.l      [A3 + 0x50]
  4005. 00002998  6752                     beq        +0x54 /* 000029EC */
  4006. 0000299A  206B 0050                movea.l    A0, [A3 + 0x50]
  4007. 0000299E  2050                     movea.l    A0, [A0]
  4008. 000029A0  4AA8 0092                tst.l      [A0 + 0x92]
  4009. 000029A4  6746                     beq        +0x48 /* 000029EC */
  4010. 000029A6  206B 0050                movea.l    A0, [A3 + 0x50]
  4011. 000029AA  2450                     movea.l    A2, [A0]
  4012. 000029AC  302A 00B6                move.w     D0, [A2 + 0xB6]
  4013. 000029B0  B06A 00B4                cmp.w      D0, [A2 + 0xB4]
  4014. 000029B4  6E06                     bgt        +0x8 /* 000029BC */
  4015. 000029B6  302A 00B4                move.w     D0, [A2 + 0xB4]
  4016. 000029BA  6004                     bra        +0x6 /* 000029C0 */
  4017. label000029BC:
  4018. 000029BC  302A 00B6                move.w     D0, [A2 + 0xB6]
  4019. label000029C0:
  4020. 000029C0  3C80                     move.w     [A6], D0
  4021. 000029C2  266A 0092                movea.l    A3, [A2 + 0x92]
  4022. 000029C6  2653                     movea.l    A3, [A3]
  4023. 000029C8  548B                     addq.l     A3, 2
  4024. 000029CA  3013                     move.w     D0, [A3]
  4025. 000029CC  48C0                     ext.l      D0
  4026. 000029CE  322B 0004                move.w     D1, [A3 + 0x4]
  4027. 000029D2  48C1                     ext.l      D1
  4028. 000029D4  9280                     sub.l      D1, D0
  4029. 000029D6  3881                     move.w     [A4], D1
  4030. 000029D8  102A 00AE                move.b     D0, [A2 + 0xAE]
  4031. 000029DC  EE00                     asr        D0.b, 7
  4032. 000029DE  56C0                     sne        D0
  4033. 000029E0  4400                     neg.b      D0
  4034. 000029E2  4880                     ext.w      D0
  4035. 000029E4  48C0                     ext.l      D0
  4036. 000029E6  2043                     movea.l    A0, D3
  4037. 000029E8  2080                     move.l     [A0], D0
  4038. 000029EA  6008                     bra        +0xA /* 000029F4 */
  4039. label000029EC:
  4040. 000029EC  4254                     clr.w      [A4]
  4041. 000029EE  4256                     clr.w      [A6]
  4042. 000029F0  2043                     movea.l    A0, D3
  4043. 000029F2  4290                     clr.l      [A0]
  4044. label000029F4:
  4045. 000029F4  1F3C 0002                move.b     -[A7], 0x2
  4046. 000029F8  42A7                     clr.l      -[A7]
  4047. 000029FA  2F04                     move.l     -[A7], D4
  4048. 000029FC  4EAD E830                jsr        [A5 - 0x17D0]
  4049. 00002A00  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4050. 00002A04  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4051. 00002A08  4E75                     rts
  4052. fn00002A0A:
  4053. 00002A0A  2F0A                     move.l     -[A7], A2
  4054. 00002A0C  4227                     clr.b      -[A7]
  4055. 00002A0E  4878 FF9C                push.l     0xFF9C
  4056. 00002A12  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4057. 00002A16  4EAD E830                jsr        [A5 - 0x17D0]
  4058. 00002A1A  2448                     movea.l    A2, A0
  4059. 00002A1C  200A                     move.l     D0, A2
  4060. 00002A1E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4061. 00002A22  6714                     beq        +0x16 /* 00002A38 */
  4062. 00002A24  4AAA 0050                tst.l      [A2 + 0x50]
  4063. 00002A28  670E                     beq        +0x10 /* 00002A38 */
  4064. 00002A2A  206F 000C                movea.l    A0, [A7 + 0xC]
  4065. 00002A2E  226A 0050                movea.l    A1, [A2 + 0x50]
  4066. 00002A32  2251                     movea.l    A1, [A1]
  4067. 00002A34  22D8                     move.l     [A1]+, [A0]+
  4068. 00002A36  22D8                     move.l     [A1]+, [A0]+
  4069. label00002A38:
  4070. 00002A38  1F3C 0002                move.b     -[A7], 0x2
  4071. 00002A3C  42A7                     clr.l      -[A7]
  4072. 00002A3E  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4073. 00002A42  4EAD E830                jsr        [A5 - 0x17D0]
  4074. 00002A46  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4075. 00002A4A  245F                     movea.l    A2, [A7]+
  4076. 00002A4C  4E75                     rts
  4077. 00002A4E  2F0A                     move.l     -[A7], A2
  4078. 00002A50  4227                     clr.b      -[A7]
  4079. 00002A52  4878 FF9C                push.l     0xFF9C
  4080. 00002A56  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4081. 00002A5A  4EAD E830                jsr        [A5 - 0x17D0]
  4082. 00002A5E  2448                     movea.l    A2, A0
  4083. 00002A60  200A                     move.l     D0, A2
  4084. 00002A62  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4085. 00002A66  6728                     beq        +0x2A /* 00002A90 */
  4086. 00002A68  4AAA 0050                tst.l      [A2 + 0x50]
  4087. 00002A6C  6722                     beq        +0x24 /* 00002A90 */
  4088. 00002A6E  1F2F 000C                move.b     -[A7], [A7 + 0xC]
  4089. 00002A72  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4090. 00002A76  4EAD DD80                jsr        [A5 - 0x2280]
  4091. 00002A7A  584F                     addq.w     A7, 4
  4092. 00002A7C  2F08                     move.l     -[A7], A0
  4093. 00002A7E  2F0A                     move.l     -[A7], A2
  4094. 00002A80  4EBA 3F60                jsr        [PC + 0x3F60 /* 000069E2 */]
  4095. 00002A84  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4096. 00002A88  4EAD DD88                jsr        [A5 - 0x2278]
  4097. 00002A8C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4098. label00002A90:
  4099. 00002A90  1F3C 0002                move.b     -[A7], 0x2
  4100. 00002A94  42A7                     clr.l      -[A7]
  4101. 00002A96  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4102. 00002A9A  4EAD E830                jsr        [A5 - 0x17D0]
  4103. 00002A9E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4104. 00002AA2  245F                     movea.l    A2, [A7]+
  4105. 00002AA4  4E75                     rts
  4106. 00002AA6  48E7 0038                movem.l    -[A7], A2,A3,A4
  4107. 00002AAA  286F 0010                movea.l    A4, [A7 + 0x10]
  4108. 00002AAE  97CB                     sub.l      A3, A3
  4109. 00002AB0  4227                     clr.b      -[A7]
  4110. 00002AB2  4878 FF9C                push.l     0xFF9C
  4111. 00002AB6  2F0C                     move.l     -[A7], A4
  4112. 00002AB8  4EAD E830                jsr        [A5 - 0x17D0]
  4113. 00002ABC  2448                     movea.l    A2, A0
  4114. 00002ABE  200A                     move.l     D0, A2
  4115. 00002AC0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4116. 00002AC4  6710                     beq        +0x12 /* 00002AD6 */
  4117. 00002AC6  4AAA 0050                tst.l      [A2 + 0x50]
  4118. 00002ACA  670A                     beq        +0xC /* 00002AD6 */
  4119. 00002ACC  206A 0050                movea.l    A0, [A2 + 0x50]
  4120. 00002AD0  2050                     movea.l    A0, [A0]
  4121. 00002AD2  2668 009E                movea.l    A3, [A0 + 0x9E]
  4122. label00002AD6:
  4123. 00002AD6  1F3C 0002                move.b     -[A7], 0x2
  4124. 00002ADA  42A7                     clr.l      -[A7]
  4125. 00002ADC  2F0C                     move.l     -[A7], A4
  4126. 00002ADE  4EAD E830                jsr        [A5 - 0x17D0]
  4127. 00002AE2  204B                     movea.l    A0, A3
  4128. 00002AE4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4129. 00002AE8  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4130. 00002AEC  4E75                     rts
  4131. 00002AEE  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4132. 00002AF2  262F 0018                move.l     D3, [A7 + 0x18]
  4133. 00002AF6  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  4134. 00002AFA  286F 0020                movea.l    A4, [A7 + 0x20]
  4135. 00002AFE  4227                     clr.b      -[A7]
  4136. 00002B00  4878 FF9C                push.l     0xFF9C
  4137. 00002B04  2F03                     move.l     -[A7], D3
  4138. 00002B06  4EAD E830                jsr        [A5 - 0x17D0]
  4139. 00002B0A  2448                     movea.l    A2, A0
  4140. 00002B0C  200A                     move.l     D0, A2
  4141. 00002B0E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4142. 00002B12  6716                     beq        +0x18 /* 00002B2A */
  4143. 00002B14  4AAA 0050                tst.l      [A2 + 0x50]
  4144. 00002B18  6710                     beq        +0x12 /* 00002B2A */
  4145. 00002B1A  206A 0050                movea.l    A0, [A2 + 0x50]
  4146. 00002B1E  2650                     movea.l    A3, [A0]
  4147. 00002B20  2CAB 008E                move.l     [A6], [A3 + 0x8E]
  4148. 00002B24  28AB 0092                move.l     [A4], [A3 + 0x92]
  4149. 00002B28  6004                     bra        +0x6 /* 00002B2E */
  4150. label00002B2A:
  4151. 00002B2A  4294                     clr.l      [A4]
  4152. 00002B2C  4296                     clr.l      [A6]
  4153. label00002B2E:
  4154. 00002B2E  1F3C 0002                move.b     -[A7], 0x2
  4155. 00002B32  42A7                     clr.l      -[A7]
  4156. 00002B34  2F03                     move.l     -[A7], D3
  4157. 00002B36  4EAD E830                jsr        [A5 - 0x17D0]
  4158. 00002B3A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4159. 00002B3E  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4160. 00002B42  4E75                     rts
  4161. 00002B44  48E7 0030                movem.l    -[A7], A2,A3
  4162. 00002B48  266F 000C                movea.l    A3, [A7 + 0xC]
  4163. 00002B4C  4A6D B48A                tst.w      [A5 - 0x4B76]
  4164. 00002B50  6758                     beq        +0x5A /* 00002BAA */
  4165. 00002B52  4227                     clr.b      -[A7]
  4166. 00002B54  4878 FF9C                push.l     0xFF9C
  4167. 00002B58  2F0B                     move.l     -[A7], A3
  4168. 00002B5A  4EAD E830                jsr        [A5 - 0x17D0]
  4169. 00002B5E  2448                     movea.l    A2, A0
  4170. 00002B60  200A                     move.l     D0, A2
  4171. 00002B62  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4172. 00002B66  6732                     beq        +0x34 /* 00002B9A */
  4173. 00002B68  4AAA 0050                tst.l      [A2 + 0x50]
  4174. 00002B6C  672C                     beq        +0x2E /* 00002B9A */
  4175. 00002B6E  2F0B                     move.l     -[A7], A3
  4176. 00002B70  4EAD DD40                jsr        [A5 - 0x22C0]
  4177. 00002B74  4878 0001                push.l     0x1
  4178. 00002B78  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4179. 00002B7C  4EAD DD80                jsr        [A5 - 0x2280]
  4180. 00002B80  584F                     addq.w     A7, 4
  4181. 00002B82  2F08                     move.l     -[A7], A0
  4182. 00002B84  2F0A                     move.l     -[A7], A2
  4183. 00002B86  4EBA 3960                jsr        [PC + 0x3960 /* 000064E8 */]
  4184. 00002B8A  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4185. 00002B8E  4EAD DD88                jsr        [A5 - 0x2278]
  4186. 00002B92  4EAD DD48                jsr        [A5 - 0x22B8]
  4187. 00002B96  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4188. label00002B9A:
  4189. 00002B9A  1F3C 0002                move.b     -[A7], 0x2
  4190. 00002B9E  42A7                     clr.l      -[A7]
  4191. 00002BA0  2F0B                     move.l     -[A7], A3
  4192. 00002BA2  4EAD E830                jsr        [A5 - 0x17D0]
  4193. 00002BA6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4194. label00002BAA:
  4195. 00002BAA  4CDF 0C00                movem.l    A2,A3, [A7]+
  4196. 00002BAE  4E75                     rts
  4197. 00002BB0  2F0A                     move.l     -[A7], A2
  4198. 00002BB2  4227                     clr.b      -[A7]
  4199. 00002BB4  4878 FF9C                push.l     0xFF9C
  4200. 00002BB8  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4201. 00002BBC  4EAD E830                jsr        [A5 - 0x17D0]
  4202. 00002BC0  2448                     movea.l    A2, A0
  4203. 00002BC2  200A                     move.l     D0, A2
  4204. 00002BC4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4205. 00002BC8  672C                     beq        +0x2E /* 00002BF6 */
  4206. 00002BCA  4AAA 0050                tst.l      [A2 + 0x50]
  4207. 00002BCE  6726                     beq        +0x28 /* 00002BF6 */
  4208. 00002BD0  1F2F 0010                move.b     -[A7], [A7 + 0x10]
  4209. 00002BD4  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4210. 00002BD8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4211. 00002BDC  4EAD DD80                jsr        [A5 - 0x2280]
  4212. 00002BE0  584F                     addq.w     A7, 4
  4213. 00002BE2  2F08                     move.l     -[A7], A0
  4214. 00002BE4  2F0A                     move.l     -[A7], A2
  4215. 00002BE6  4EBA 1FE8                jsr        [PC + 0x1FE8 /* 00004BD0 */]
  4216. 00002BEA  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4217. 00002BEE  4EAD DD88                jsr        [A5 - 0x2278]
  4218. 00002BF2  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4219. label00002BF6:
  4220. 00002BF6  1F3C 0002                move.b     -[A7], 0x2
  4221. 00002BFA  42A7                     clr.l      -[A7]
  4222. 00002BFC  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4223. 00002C00  4EAD E830                jsr        [A5 - 0x17D0]
  4224. 00002C04  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4225. 00002C08  245F                     movea.l    A2, [A7]+
  4226. 00002C0A  4E75                     rts
  4227. 00002C0C  48E7 0030                movem.l    -[A7], A2,A3
  4228. 00002C10  266F 000C                movea.l    A3, [A7 + 0xC]
  4229. 00002C14  4227                     clr.b      -[A7]
  4230. 00002C16  4878 FF9C                push.l     0xFF9C
  4231. 00002C1A  2F0B                     move.l     -[A7], A3
  4232. 00002C1C  4EAD E830                jsr        [A5 - 0x17D0]
  4233. 00002C20  2448                     movea.l    A2, A0
  4234. 00002C22  200A                     move.l     D0, A2
  4235. 00002C24  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4236. 00002C28  6718                     beq        +0x1A /* 00002C42 */
  4237. 00002C2A  2F0B                     move.l     -[A7], A3
  4238. 00002C2C  4EAD DD40                jsr        [A5 - 0x22C0]
  4239. 00002C30  1F3C 0002                move.b     -[A7], 0x2
  4240. 00002C34  2F0A                     move.l     -[A7], A2
  4241. 00002C36  4EBA 14A2                jsr        [PC + 0x14A2 /* 000040DA */]
  4242. 00002C3A  4EAD DD48                jsr        [A5 - 0x22B8]
  4243. 00002C3E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4244. label00002C42:
  4245. 00002C42  1F3C 0002                move.b     -[A7], 0x2
  4246. 00002C46  42A7                     clr.l      -[A7]
  4247. 00002C48  2F0B                     move.l     -[A7], A3
  4248. 00002C4A  4EAD E830                jsr        [A5 - 0x17D0]
  4249. 00002C4E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4250. 00002C52  4CDF 0C00                movem.l    A2,A3, [A7]+
  4251. 00002C56  4E75                     rts
  4252. 00002C58  48E7 1030                movem.l    -[A7], D3,A2,A3
  4253. 00002C5C  266F 0010                movea.l    A3, [A7 + 0x10]
  4254. 00002C60  76FF                     moveq.l    D3, 0xFFFFFFFF
  4255. 00002C62  4227                     clr.b      -[A7]
  4256. 00002C64  4878 FF9C                push.l     0xFF9C
  4257. 00002C68  2F0B                     move.l     -[A7], A3
  4258. 00002C6A  4EAD E830                jsr        [A5 - 0x17D0]
  4259. 00002C6E  2448                     movea.l    A2, A0
  4260. 00002C70  200A                     move.l     D0, A2
  4261. 00002C72  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4262. 00002C76  6710                     beq        +0x12 /* 00002C88 */
  4263. 00002C78  4AAA 0050                tst.l      [A2 + 0x50]
  4264. 00002C7C  670A                     beq        +0xC /* 00002C88 */
  4265. 00002C7E  206A 0050                movea.l    A0, [A2 + 0x50]
  4266. 00002C82  2050                     movea.l    A0, [A0]
  4267. 00002C84  2628 00A2                move.l     D3, [A0 + 0xA2]
  4268. label00002C88:
  4269. 00002C88  1F3C 0002                move.b     -[A7], 0x2
  4270. 00002C8C  42A7                     clr.l      -[A7]
  4271. 00002C8E  2F0B                     move.l     -[A7], A3
  4272. 00002C90  4EAD E830                jsr        [A5 - 0x17D0]
  4273. 00002C94  2003                     move.l     D0, D3
  4274. 00002C96  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4275. 00002C9A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4276. 00002C9E  4E75                     rts
  4277. 00002CA0  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4278. 00002CA4  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4279. 00002CA8  246F 0028                movea.l    A2, [A7 + 0x28]
  4280. 00002CAC  262F 002C                move.l     D3, [A7 + 0x2C]
  4281. 00002CB0  4227                     clr.b      -[A7]
  4282. 00002CB2  4878 FF9C                push.l     0xFF9C
  4283. 00002CB6  2F0A                     move.l     -[A7], A2
  4284. 00002CB8  4EAD E830                jsr        [A5 - 0x17D0]
  4285. 00002CBC  2848                     movea.l    A4, A0
  4286. 00002CBE  200C                     move.l     D0, A4
  4287. 00002CC0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4288. 00002CC4  6700 0144                beq        +0x146 /* 00002E0A */
  4289. 00002CC8  4AAC 0050                tst.l      [A4 + 0x50]
  4290. 00002CCC  6700 013C                beq        +0x13E /* 00002E0A */
  4291. 00002CD0  2F2C 0050                move.l     -[A7], [A4 + 0x50]
  4292. 00002CD4  4EAD DD80                jsr        [A5 - 0x2280]
  4293. 00002CD8  2648                     movea.l    A3, A0
  4294. 00002CDA  2F0A                     move.l     -[A7], A2
  4295. 00002CDC  4EAD DD40                jsr        [A5 - 0x22C0]
  4296. 00002CE0  4227                     clr.b      -[A7]
  4297. 00002CE2  486F 0012                pea.l      [A7 + 0x12]
  4298. 00002CE6  2F0B                     move.l     -[A7], A3
  4299. 00002CE8  2F0C                     move.l     -[A7], A4
  4300. 00002CEA  4EBA 1EE4                jsr        [PC + 0x1EE4 /* 00004BD0 */]
  4301. 00002CEE  486F 001E                pea.l      [A7 + 0x1E]
  4302. 00002CF2  4EAD DD50                jsr        [A5 - 0x22B0]
  4303. 00002CF6  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  4304. 00002CFA  2003                     move.l     D0, D3
  4305. 00002CFC  0C80 0000 0008           cmpi.l     D0, 0x8
  4306. 00002D02  6200 00B0                bhi        +0xB2 /* 00002DB4 */
  4307. 00002D06  D040                     add.w      D0, D0
  4308. 00002D08  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  4309. 00002D0C  4EFB 0002                jmp        [PC + D0.w + 0x2]
  4310. 00002D10  00A4 0054 00A4           ori.l      -[A4], 0x5400A4
  4311. 00002D16  0054 0012                ori.w      [A4], 0x12
  4312. 00002D1A  0054 0054                ori.w      [A4], 0x54 /* 'T' */
  4313. 00002D1E  00A4 0094 4AAB           ori.l      -[A4], 0x944AAB
  4314. 00002D24  009E 673C 486F           ori.l      [A6]+, 0x673C486F /* 'g<Ho' */
  4315. 00002D2A  0004 486F                ori.b      D4, 0x6F /* 'o' */
  4316. 00002D2E  0004 42A7                ori.b      D4, 0xA7
  4317. 00002D32  2F2B 009E                move.l     -[A7], [A3 + 0x9E]
  4318. 00002D36  4EAD E5B0                jsr        [A5 - 0x1A50]
  4319. 00002D3A  4A80                     tst.l      D0
  4320. 00002D3C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4321. 00002D40  6722                     beq        +0x24 /* 00002D64 */
  4322. 00002D42  1F3C 0001                move.b     -[A7], 0x1
  4323. 00002D46  2F0A                     move.l     -[A7], A2
  4324. 00002D48  4EAD E818                jsr        [A5 - 0x17E8]
  4325. 00002D4C  2610                     move.l     D3, [A0]
  4326. 00002D4E  2F03                     move.l     -[A7], D3
  4327. 00002D50  3F2B 00B2                move.w     -[A7], [A3 + 0xB2]
  4328. 00002D54  2F2B 009E                move.l     -[A7], [A3 + 0x9E]
  4329. 00002D58  4EAD E5B8                jsr        [A5 - 0x1A48]
  4330. 00002D5C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4331. 00002D60  6000 0096                bra        +0x98 /* 00002DF8 */
  4332. label00002D64:
  4333. 00002D64  4A6D B48A                tst.w      [A5 - 0x4B76]
  4334. 00002D68  6700 008E                beq        +0x90 /* 00002DF8 */
  4335. 00002D6C  2003                     move.l     D0, D3
  4336. 00002D6E  5380                     subq.l     D0, 1
  4337. 00002D70  2F00                     move.l     -[A7], D0
  4338. 00002D72  2F0A                     move.l     -[A7], A2
  4339. 00002D74  4EAD F6A0                jsr        [A5 - 0x960]
  4340. 00002D78  7001                     moveq.l    D0, 0x01
  4341. 00002D7A  B680                     cmp.l      D3, D0
  4342. 00002D7C  504F                     addq.w     A7, 8
  4343. 00002D7E  6678                     bne        +0x7A /* 00002DF8 */
  4344. 00002D80  2F0A                     move.l     -[A7], A2
  4345. 00002D82  4EAD F670                jsr        [A5 - 0x990]
  4346. 00002D86  2008                     move.l     D0, A0
  4347. 00002D88  57C0                     seq        D0
  4348. 00002D8A  4400                     neg.b      D0
  4349. 00002D8C  4880                     ext.w      D0
  4350. 00002D8E  48C0                     ext.l      D0
  4351. 00002D90  584F                     addq.w     A7, 4
  4352. 00002D92  2F00                     move.l     -[A7], D0
  4353. 00002D94  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  4354. 00002D98  2F0A                     move.l     -[A7], A2
  4355. 00002D9A  4EAD E5F8                jsr        [A5 - 0x1A08]
  4356. 00002D9E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4357. 00002DA2  6054                     bra        +0x56 /* 00002DF8 */
  4358. 00002DA4  4A6D B48A                tst.w      [A5 - 0x4B76]
  4359. 00002DA8  674E                     beq        +0x50 /* 00002DF8 */
  4360. 00002DAA  2F0A                     move.l     -[A7], A2
  4361. 00002DAC  4EAD F6A8                jsr        [A5 - 0x958]
  4362. 00002DB0  584F                     addq.w     A7, 4
  4363. 00002DB2  6044                     bra        +0x46 /* 00002DF8 */
  4364. label00002DB4:
  4365. 00002DB4  4A6D B48A                tst.w      [A5 - 0x4B76]
  4366. 00002DB8  673E                     beq        +0x40 /* 00002DF8 */
  4367. 00002DBA  302D B414                move.w     D0, [A5 - 0x4BEC]
  4368. 00002DBE  48C0                     ext.l      D0
  4369. 00002DC0  5480                     addq.l     D0, 2
  4370. 00002DC2  B083                     cmp.l      D0, D3
  4371. 00002DC4  6632                     bne        +0x34 /* 00002DF8 */
  4372. 00002DC6  2F0A                     move.l     -[A7], A2
  4373. 00002DC8  4EAD F670                jsr        [A5 - 0x990]
  4374. 00002DCC  2C48                     movea.l    A6, A0
  4375. 00002DCE  2008                     move.l     D0, A0
  4376. 00002DD0  584F                     addq.w     A7, 4
  4377. 00002DD2  6724                     beq        +0x26 /* 00002DF8 */
  4378. 00002DD4  4878 0001                push.l     0x1
  4379. 00002DD8  2F0E                     move.l     -[A7], A6
  4380. 00002DDA  4EAD F680                jsr        [A5 - 0x980]
  4381. 00002DDE  4878 0001                push.l     0x1
  4382. 00002DE2  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  4383. 00002DE6  2F0A                     move.l     -[A7], A2
  4384. 00002DE8  4EAD E5F8                jsr        [A5 - 0x1A08]
  4385. 00002DEC  2F0B                     move.l     -[A7], A3
  4386. 00002DEE  2F0C                     move.l     -[A7], A4
  4387. 00002DF0  4EBA 445E                jsr        [PC + 0x445E /* 00007250 */]
  4388. 00002DF4  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  4389. label00002DF8:
  4390. 00002DF8  4EAD DD58                jsr        [A5 - 0x22A8]
  4391. 00002DFC  4EAD DD48                jsr        [A5 - 0x22B8]
  4392. 00002E00  2F2C 0050                move.l     -[A7], [A4 + 0x50]
  4393. 00002E04  4EAD DD88                jsr        [A5 - 0x2278]
  4394. 00002E08  584F                     addq.w     A7, 4
  4395. label00002E0A:
  4396. 00002E0A  1F3C 0002                move.b     -[A7], 0x2
  4397. 00002E0E  42A7                     clr.l      -[A7]
  4398. 00002E10  2F0A                     move.l     -[A7], A2
  4399. 00002E12  4EAD E830                jsr        [A5 - 0x17D0]
  4400. 00002E16  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  4401. 00002E1A  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4402. 00002E1E  4E75                     rts
  4403. 00002E20  48E7 0030                movem.l    -[A7], A2,A3
  4404. 00002E24  266F 000C                movea.l    A3, [A7 + 0xC]
  4405. 00002E28  4A6D B48A                tst.w      [A5 - 0x4B76]
  4406. 00002E2C  675A                     beq        +0x5C /* 00002E88 */
  4407. 00002E2E  4227                     clr.b      -[A7]
  4408. 00002E30  4878 FF9C                push.l     0xFF9C
  4409. 00002E34  2F0B                     move.l     -[A7], A3
  4410. 00002E36  4EAD E830                jsr        [A5 - 0x17D0]
  4411. 00002E3A  2448                     movea.l    A2, A0
  4412. 00002E3C  200A                     move.l     D0, A2
  4413. 00002E3E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4414. 00002E42  6734                     beq        +0x36 /* 00002E78 */
  4415. 00002E44  4AAA 0050                tst.l      [A2 + 0x50]
  4416. 00002E48  672E                     beq        +0x30 /* 00002E78 */
  4417. 00002E4A  2F0B                     move.l     -[A7], A3
  4418. 00002E4C  4EAD DD40                jsr        [A5 - 0x22C0]
  4419. 00002E50  42A7                     clr.l      -[A7]
  4420. 00002E52  4878 0001                push.l     0x1
  4421. 00002E56  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4422. 00002E5A  4EAD DD80                jsr        [A5 - 0x2280]
  4423. 00002E5E  584F                     addq.w     A7, 4
  4424. 00002E60  2F08                     move.l     -[A7], A0
  4425. 00002E62  2F0A                     move.l     -[A7], A2
  4426. 00002E64  4EBA 3712                jsr        [PC + 0x3712 /* 00006578 */]
  4427. 00002E68  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4428. 00002E6C  4EAD DD88                jsr        [A5 - 0x2278]
  4429. 00002E70  4EAD DD48                jsr        [A5 - 0x22B8]
  4430. 00002E74  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4431. label00002E78:
  4432. 00002E78  1F3C 0002                move.b     -[A7], 0x2
  4433. 00002E7C  42A7                     clr.l      -[A7]
  4434. 00002E7E  2F0B                     move.l     -[A7], A3
  4435. 00002E80  4EAD E830                jsr        [A5 - 0x17D0]
  4436. 00002E84  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4437. label00002E88:
  4438. 00002E88  4CDF 0C00                movem.l    A2,A3, [A7]+
  4439. 00002E8C  4E75                     rts
  4440. 00002E8E  48E7 0038                movem.l    -[A7], A2,A3,A4
  4441. 00002E92  286F 0010                movea.l    A4, [A7 + 0x10]
  4442. 00002E96  4227                     clr.b      -[A7]
  4443. 00002E98  4878 FF9C                push.l     0xFF9C
  4444. 00002E9C  2F0C                     move.l     -[A7], A4
  4445. 00002E9E  4EAD E830                jsr        [A5 - 0x17D0]
  4446. 00002EA2  2448                     movea.l    A2, A0
  4447. 00002EA4  200A                     move.l     D0, A2
  4448. 00002EA6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4449. 00002EAA  6758                     beq        +0x5A /* 00002F04 */
  4450. 00002EAC  4AAA 0050                tst.l      [A2 + 0x50]
  4451. 00002EB0  6752                     beq        +0x54 /* 00002F04 */
  4452. 00002EB2  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4453. 00002EB6  4EAD DD80                jsr        [A5 - 0x2280]
  4454. 00002EBA  2648                     movea.l    A3, A0
  4455. 00002EBC  2F0C                     move.l     -[A7], A4
  4456. 00002EBE  4EAD DD40                jsr        [A5 - 0x22C0]
  4457. 00002EC2  4A6D B48A                tst.w      [A5 - 0x4B76]
  4458. 00002EC6  504F                     addq.w     A7, 8
  4459. 00002EC8  670C                     beq        +0xE /* 00002ED6 */
  4460. 00002ECA  2F0B                     move.l     -[A7], A3
  4461. 00002ECC  2F0A                     move.l     -[A7], A2
  4462. 00002ECE  4EBA 3732                jsr        [PC + 0x3732 /* 00006602 */]
  4463. 00002ED2  504F                     addq.w     A7, 8
  4464. 00002ED4  6014                     bra        +0x16 /* 00002EEA */
  4465. label00002ED6:
  4466. 00002ED6  4878 0001                push.l     0x1
  4467. 00002EDA  4878 0001                push.l     0x1
  4468. 00002EDE  2F0B                     move.l     -[A7], A3
  4469. 00002EE0  2F0A                     move.l     -[A7], A2
  4470. 00002EE2  4EBA 3694                jsr        [PC + 0x3694 /* 00006578 */]
  4471. 00002EE6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4472. label00002EEA:
  4473. 00002EEA  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4474. 00002EEE  4EAD DD88                jsr        [A5 - 0x2278]
  4475. 00002EF2  1F3C 0002                move.b     -[A7], 0x2
  4476. 00002EF6  2F0A                     move.l     -[A7], A2
  4477. 00002EF8  4EBA 11E0                jsr        [PC + 0x11E0 /* 000040DA */]
  4478. 00002EFC  4EAD DD48                jsr        [A5 - 0x22B8]
  4479. 00002F00  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4480. label00002F04:
  4481. 00002F04  1F3C 0002                move.b     -[A7], 0x2
  4482. 00002F08  42A7                     clr.l      -[A7]
  4483. 00002F0A  2F0C                     move.l     -[A7], A4
  4484. 00002F0C  4EAD E830                jsr        [A5 - 0x17D0]
  4485. 00002F10  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4486. 00002F14  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4487. 00002F18  4E75                     rts
  4488. 00002F1A  206F 0004                movea.l    A0, [A7 + 0x4]
  4489. 00002F1E  2F28 0048                move.l     -[A7], [A0 + 0x48]
  4490. 00002F22  4EAD DD40                jsr        [A5 - 0x22C0]
  4491. 00002F26  1F3C 0002                move.b     -[A7], 0x2
  4492. 00002F2A  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  4493. 00002F2E  4EBA 11AA                jsr        [PC + 0x11AA /* 000040DA */]
  4494. 00002F32  4EAD DD48                jsr        [A5 - 0x22B8]
  4495. 00002F36  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4496. 00002F3A  4E75                     rts
  4497. 00002F3C  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  4498. 00002F40  2C6F 0014                movea.l    A6, [A7 + 0x14]
  4499. 00002F44  286F 0018                movea.l    A4, [A7 + 0x18]
  4500. 00002F48  200C                     move.l     D0, A4
  4501. 00002F4A  6612                     bne        +0x14 /* 00002F5E */
  4502. 00002F4C  4878 0001                push.l     0x1
  4503. 00002F50  2F0E                     move.l     -[A7], A6
  4504. 00002F52  4EBA F996                jsr        [PC - 0x66A /* 000028EA */]
  4505. 00002F56  504F                     addq.w     A7, 8
  4506. 00002F58  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  4507. 00002F5C  4E75                     rts
  4508. label00002F5E:
  4509. 00002F5E  4227                     clr.b      -[A7]
  4510. 00002F60  4878 FF9C                push.l     0xFF9C
  4511. 00002F64  2F0E                     move.l     -[A7], A6
  4512. 00002F66  4EAD E830                jsr        [A5 - 0x17D0]
  4513. 00002F6A  2648                     movea.l    A3, A0
  4514. 00002F6C  200B                     move.l     D0, A3
  4515. 00002F6E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4516. 00002F72  6700 00D4                beq        +0xD6 /* 00003048 */
  4517. 00002F76  4AAB 0050                tst.l      [A3 + 0x50]
  4518. 00002F7A  6700 00CC                beq        +0xCE /* 00003048 */
  4519. 00002F7E  206B 0050                movea.l    A0, [A3 + 0x50]
  4520. 00002F82  2050                     movea.l    A0, [A0]
  4521. 00002F84  4AA8 0076                tst.l      [A0 + 0x76]
  4522. 00002F88  6700 00BE                beq        +0xC0 /* 00003048 */
  4523. 00002F8C  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  4524. 00002F90  4EAD DD80                jsr        [A5 - 0x2280]
  4525. 00002F94  2448                     movea.l    A2, A0
  4526. 00002F96  2F0E                     move.l     -[A7], A6
  4527. 00002F98  4EAD DD40                jsr        [A5 - 0x22C0]
  4528. 00002F9C  200C                     move.l     D0, A4
  4529. 00002F9E  504F                     addq.w     A7, 8
  4530. 00002FA0  6700 0098                beq        +0x9A /* 0000303A */
  4531. 00002FA4  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  4532. 00002FA8  2F0A                     move.l     -[A7], A2
  4533. 00002FAA  4EBA 349A                jsr        [PC + 0x349A /* 00006446 */]
  4534. 00002FAE  4480                     neg.l      D0
  4535. 00002FB0  322A 0012                move.w     D1, [A2 + 0x12]
  4536. 00002FB4  48C1                     ext.l      D1
  4537. 00002FB6  D280                     add.l      D1, D0
  4538. 00002FB8  584F                     addq.w     A7, 4
  4539. 00002FBA  3F01                     move.w     -[A7], D1
  4540. 00002FBC  2F0A                     move.l     -[A7], A2
  4541. 00002FBE  4EBA 34A4                jsr        [PC + 0x34A4 /* 00006464 */]
  4542. 00002FC2  4480                     neg.l      D0
  4543. 00002FC4  322A 0010                move.w     D1, [A2 + 0x10]
  4544. 00002FC8  48C1                     ext.l      D1
  4545. 00002FCA  D280                     add.l      D1, D0
  4546. 00002FCC  584F                     addq.w     A7, 4
  4547. 00002FCE  3F01                     move.w     -[A7], D1
  4548. 00002FD0  A8E0                     syscall    OffsetRgn/OfsetRgn
  4549. 00002FD2  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  4550. 00002FD6  4878 FFFF                push.l     0xFFFF
  4551. 00002FDA  A8E1                     syscall    InsetRgn
  4552. 00002FDC  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  4553. 00002FE0  A927                     syscall    InvalRgn
  4554. 00002FE2  2F0C                     move.l     -[A7], A4
  4555. 00002FE4  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  4556. 00002FE8  A8DC                     syscall    CopyRgn
  4557. 00002FEA  4878 0001                push.l     0x1
  4558. 00002FEE  42A7                     clr.l      -[A7]
  4559. 00002FF0  42A7                     clr.l      -[A7]
  4560. 00002FF2  1F3C 0001                move.b     -[A7], 0x1
  4561. 00002FF6  2F0A                     move.l     -[A7], A2
  4562. 00002FF8  2F0B                     move.l     -[A7], A3
  4563. 00002FFA  4EBA 2488                jsr        [PC + 0x2488 /* 00005484 */]
  4564. 00002FFE  2F0C                     move.l     -[A7], A4
  4565. 00003000  2F0A                     move.l     -[A7], A2
  4566. 00003002  4EBA 3442                jsr        [PC + 0x3442 /* 00006446 */]
  4567. 00003006  4480                     neg.l      D0
  4568. 00003008  322A 0012                move.w     D1, [A2 + 0x12]
  4569. 0000300C  48C1                     ext.l      D1
  4570. 0000300E  D280                     add.l      D1, D0
  4571. 00003010  584F                     addq.w     A7, 4
  4572. 00003012  3F01                     move.w     -[A7], D1
  4573. 00003014  2F0A                     move.l     -[A7], A2
  4574. 00003016  4EBA 344C                jsr        [PC + 0x344C /* 00006464 */]
  4575. 0000301A  4480                     neg.l      D0
  4576. 0000301C  322A 0010                move.w     D1, [A2 + 0x10]
  4577. 00003020  48C1                     ext.l      D1
  4578. 00003022  D280                     add.l      D1, D0
  4579. 00003024  584F                     addq.w     A7, 4
  4580. 00003026  3F01                     move.w     -[A7], D1
  4581. 00003028  A8E0                     syscall    OffsetRgn/OfsetRgn
  4582. 0000302A  2F0C                     move.l     -[A7], A4
  4583. 0000302C  4878 FFFF                push.l     0xFFFF
  4584. 00003030  A8E1                     syscall    InsetRgn
  4585. 00003032  2F0C                     move.l     -[A7], A4
  4586. 00003034  A927                     syscall    InvalRgn
  4587. 00003036  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4588. label0000303A:
  4589. 0000303A  4EAD DD48                jsr        [A5 - 0x22B8]
  4590. 0000303E  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  4591. 00003042  4EAD DD88                jsr        [A5 - 0x2278]
  4592. 00003046  584F                     addq.w     A7, 4
  4593. label00003048:
  4594. 00003048  1F3C 0002                move.b     -[A7], 0x2
  4595. 0000304C  42A7                     clr.l      -[A7]
  4596. 0000304E  2F0E                     move.l     -[A7], A6
  4597. 00003050  4EAD E830                jsr        [A5 - 0x17D0]
  4598. 00003054  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4599. 00003058  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  4600. 0000305C  4E75                     rts
  4601. 0000305E  48E7 0030                movem.l    -[A7], A2,A3
  4602. 00003062  266F 000C                movea.l    A3, [A7 + 0xC]
  4603. 00003066  4227                     clr.b      -[A7]
  4604. 00003068  4878 FF9C                push.l     0xFF9C
  4605. 0000306C  2F0B                     move.l     -[A7], A3
  4606. 0000306E  4EAD E830                jsr        [A5 - 0x17D0]
  4607. 00003072  2448                     movea.l    A2, A0
  4608. 00003074  200A                     move.l     D0, A2
  4609. 00003076  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4610. 0000307A  671E                     beq        +0x20 /* 0000309A */
  4611. 0000307C  4AAA 0050                tst.l      [A2 + 0x50]
  4612. 00003080  6718                     beq        +0x1A /* 0000309A */
  4613. 00003082  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4614. 00003086  206A 0050                movea.l    A0, [A2 + 0x50]
  4615. 0000308A  2050                     movea.l    A0, [A0]
  4616. 0000308C  2F28 00A2                move.l     -[A7], [A0 + 0xA2]
  4617. 00003090  2F0B                     move.l     -[A7], A3
  4618. 00003092  4EAD E630                jsr        [A5 - 0x19D0]
  4619. 00003096  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4620. label0000309A:
  4621. 0000309A  1F3C 0002                move.b     -[A7], 0x2
  4622. 0000309E  42A7                     clr.l      -[A7]
  4623. 000030A0  2F0B                     move.l     -[A7], A3
  4624. 000030A2  4EAD E830                jsr        [A5 - 0x17D0]
  4625. 000030A6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4626. 000030AA  4CDF 0C00                movem.l    A2,A3, [A7]+
  4627. 000030AE  4E75                     rts
  4628. 000030B0  48E7 0030                movem.l    -[A7], A2,A3
  4629. 000030B4  266F 000C                movea.l    A3, [A7 + 0xC]
  4630. 000030B8  4227                     clr.b      -[A7]
  4631. 000030BA  4878 FF9C                push.l     0xFF9C
  4632. 000030BE  2F0B                     move.l     -[A7], A3
  4633. 000030C0  4EAD E830                jsr        [A5 - 0x17D0]
  4634. 000030C4  2448                     movea.l    A2, A0
  4635. 000030C6  200A                     move.l     D0, A2
  4636. 000030C8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4637. 000030CC  671C                     beq        +0x1E /* 000030EA */
  4638. 000030CE  4AAA 0050                tst.l      [A2 + 0x50]
  4639. 000030D2  6716                     beq        +0x18 /* 000030EA */
  4640. 000030D4  42A7                     clr.l      -[A7]
  4641. 000030D6  206A 0050                movea.l    A0, [A2 + 0x50]
  4642. 000030DA  2050                     movea.l    A0, [A0]
  4643. 000030DC  2F28 00A2                move.l     -[A7], [A0 + 0xA2]
  4644. 000030E0  2F0B                     move.l     -[A7], A3
  4645. 000030E2  4EAD E648                jsr        [A5 - 0x19B8]
  4646. 000030E6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4647. label000030EA:
  4648. 000030EA  1F3C 0002                move.b     -[A7], 0x2
  4649. 000030EE  42A7                     clr.l      -[A7]
  4650. 000030F0  2F0B                     move.l     -[A7], A3
  4651. 000030F2  4EAD E830                jsr        [A5 - 0x17D0]
  4652. 000030F6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4653. 000030FA  4CDF 0C00                movem.l    A2,A3, [A7]+
  4654. 000030FE  4E75                     rts
  4655. 00003100  48E7 0030                movem.l    -[A7], A2,A3
  4656. 00003104  266F 000C                movea.l    A3, [A7 + 0xC]
  4657. 00003108  4227                     clr.b      -[A7]
  4658. 0000310A  4878 FF9C                push.l     0xFF9C
  4659. 0000310E  2F0B                     move.l     -[A7], A3
  4660. 00003110  4EAD E830                jsr        [A5 - 0x17D0]
  4661. 00003114  2448                     movea.l    A2, A0
  4662. 00003116  200A                     move.l     D0, A2
  4663. 00003118  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4664. 0000311C  671E                     beq        +0x20 /* 0000313C */
  4665. 0000311E  4AAA 0050                tst.l      [A2 + 0x50]
  4666. 00003122  6718                     beq        +0x1A /* 0000313C */
  4667. 00003124  4878 0001                push.l     0x1
  4668. 00003128  206A 0050                movea.l    A0, [A2 + 0x50]
  4669. 0000312C  2050                     movea.l    A0, [A0]
  4670. 0000312E  2F28 00A2                move.l     -[A7], [A0 + 0xA2]
  4671. 00003132  2F0B                     move.l     -[A7], A3
  4672. 00003134  4EAD E648                jsr        [A5 - 0x19B8]
  4673. 00003138  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4674. label0000313C:
  4675. 0000313C  1F3C 0002                move.b     -[A7], 0x2
  4676. 00003140  42A7                     clr.l      -[A7]
  4677. 00003142  2F0B                     move.l     -[A7], A3
  4678. 00003144  4EAD E830                jsr        [A5 - 0x17D0]
  4679. 00003148  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4680. 0000314C  4CDF 0C00                movem.l    A2,A3, [A7]+
  4681. 00003150  4E75                     rts
  4682. 00003152  206F 0004                movea.l    A0, [A7 + 0x4]
  4683. 00003156  4AA8 0050                tst.l      [A0 + 0x50]
  4684. 0000315A  6604                     bne        +0x6 /* 00003160 */
  4685. 0000315C  7000                     moveq.l    D0, 0x00
  4686. 0000315E  6010                     bra        +0x12 /* 00003170 */
  4687. label00003160:
  4688. 00003160  206F 0004                movea.l    A0, [A7 + 0x4]
  4689. 00003164  2068 0050                movea.l    A0, [A0 + 0x50]
  4690. 00003168  2050                     movea.l    A0, [A0]
  4691. 0000316A  7000                     moveq.l    D0, 0x00
  4692. 0000316C  3028 0044                move.w     D0, [A0 + 0x44]
  4693. label00003170:
  4694. 00003170  4E75                     rts
  4695. 00003172  48E7 0030                movem.l    -[A7], A2,A3
  4696. 00003176  246F 000C                movea.l    A2, [A7 + 0xC]
  4697. 0000317A  4AAA 0050                tst.l      [A2 + 0x50]
  4698. 0000317E  673C                     beq        +0x3E /* 000031BC */
  4699. 00003180  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4700. 00003184  4EAD DD40                jsr        [A5 - 0x22C0]
  4701. 00003188  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4702. 0000318C  4EAD DD80                jsr        [A5 - 0x2280]
  4703. 00003190  2648                     movea.l    A3, A0
  4704. 00003192  4AAB 00A6                tst.l      [A3 + 0xA6]
  4705. 00003196  56C0                     sne        D0
  4706. 00003198  4400                     neg.b      D0
  4707. 0000319A  4880                     ext.w      D0
  4708. 0000319C  48C0                     ext.l      D0
  4709. 0000319E  2F00                     move.l     -[A7], D0
  4710. 000031A0  486B 0010                pea.l      [A3 + 0x10]
  4711. 000031A4  2F0B                     move.l     -[A7], A3
  4712. 000031A6  2F0A                     move.l     -[A7], A2
  4713. 000031A8  4EBA 39E0                jsr        [PC + 0x39E0 /* 00006B8A */]
  4714. 000031AC  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4715. 000031B0  4EAD DD88                jsr        [A5 - 0x2278]
  4716. 000031B4  4EAD DD48                jsr        [A5 - 0x22B8]
  4717. 000031B8  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  4718. label000031BC:
  4719. 000031BC  4CDF 0C00                movem.l    A2,A3, [A7]+
  4720. 000031C0  4E75                     rts
  4721. fn000031C2:
  4722. 000031C2  2F0A                     move.l     -[A7], A2
  4723. 000031C4  246F 0008                movea.l    A2, [A7 + 0x8]
  4724. 000031C8  4AAA 0050                tst.l      [A2 + 0x50]
  4725. 000031CC  6606                     bne        +0x8 /* 000031D4 */
  4726. 000031CE  70FF                     moveq.l    D0, 0xFFFFFFFF
  4727. 000031D0  245F                     movea.l    A2, [A7]+
  4728. 000031D2  4E75                     rts
  4729. label000031D4:
  4730. 000031D4  4AAA 0054                tst.l      [A2 + 0x54]
  4731. 000031D8  6E04                     bgt        +0x6 /* 000031DE */
  4732. 000031DA  70FF                     moveq.l    D0, 0xFFFFFFFF
  4733. 000031DC  600A                     bra        +0xC /* 000031E8 */
  4734. label000031DE:
  4735. 000031DE  206A 0050                movea.l    A0, [A2 + 0x50]
  4736. 000031E2  2050                     movea.l    A0, [A0]
  4737. 000031E4  2028 0040                move.l     D0, [A0 + 0x40]
  4738. label000031E8:
  4739. 000031E8  245F                     movea.l    A2, [A7]+
  4740. 000031EA  4E75                     rts
  4741. 000031EC  48E7 0038                movem.l    -[A7], A2,A3,A4
  4742. 000031F0  286F 0010                movea.l    A4, [A7 + 0x10]
  4743. 000031F4  4227                     clr.b      -[A7]
  4744. 000031F6  4878 FF9C                push.l     0xFF9C
  4745. 000031FA  2F0C                     move.l     -[A7], A4
  4746. 000031FC  4EAD E830                jsr        [A5 - 0x17D0]
  4747. 00003200  2448                     movea.l    A2, A0
  4748. 00003202  200A                     move.l     D0, A2
  4749. 00003204  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4750. 00003208  6746                     beq        +0x48 /* 00003250 */
  4751. 0000320A  4AAA 0050                tst.l      [A2 + 0x50]
  4752. 0000320E  6740                     beq        +0x42 /* 00003250 */
  4753. 00003210  206A 0050                movea.l    A0, [A2 + 0x50]
  4754. 00003214  2650                     movea.l    A3, [A0]
  4755. 00003216  206F 0014                movea.l    A0, [A7 + 0x14]
  4756. 0000321A  2550 0040                move.l     [A2 + 0x40], [A0]
  4757. 0000321E  2568 0004 0044           move.l     [A2 + 0x44], [A0 + 0x4]
  4758. 00003224  2750 0018                move.l     [A3 + 0x18], [A0]
  4759. 00003228  2768 0004 001C           move.l     [A3 + 0x1C], [A0 + 0x4]
  4760. 0000322E  2750 0008                move.l     [A3 + 0x8], [A0]
  4761. 00003232  2768 0004 000C           move.l     [A3 + 0xC], [A0 + 0x4]
  4762. 00003238  2F0C                     move.l     -[A7], A4
  4763. 0000323A  4EAD DD40                jsr        [A5 - 0x22C0]
  4764. 0000323E  1F3C 0001                move.b     -[A7], 0x1
  4765. 00003242  2F0A                     move.l     -[A7], A2
  4766. 00003244  4EBA 0E94                jsr        [PC + 0xE94 /* 000040DA */]
  4767. 00003248  4EAD DD48                jsr        [A5 - 0x22B8]
  4768. 0000324C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4769. label00003250:
  4770. 00003250  1F3C 0002                move.b     -[A7], 0x2
  4771. 00003254  42A7                     clr.l      -[A7]
  4772. 00003256  2F0C                     move.l     -[A7], A4
  4773. 00003258  4EAD E830                jsr        [A5 - 0x17D0]
  4774. 0000325C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4775. 00003260  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4776. 00003264  4E75                     rts
  4777. 00003266  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  4778. 0000326A  4FEF FF30                lea.l      A7, [A7 - 0xD0]
  4779. 0000326E  246F 00F0                movea.l    A2, [A7 + 0xF0]
  4780. 00003272  3A2F 00F4                move.w     D5, [A7 + 0xF4]
  4781. 00003276  41ED 9D76                lea.l      A0, [A5 - 0x628A]
  4782. 0000327A  43EF 0014                lea.l      A1, [A7 + 0x14]
  4783. 0000327E  702E                     moveq.l    D0, 0x2E
  4784. label00003280:
  4785. 00003280  22D8                     move.l     [A1]+, [A0]+
  4786. 00003282  51C8 FFFC                dbf        D0, -0x6 /* 00003280 */
  4787. 00003286  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4788. 0000328A  4EAD E848                jsr        [A5 - 0x17B8]
  4789. 0000328E  1600                     move.b     D3, D0
  4790. 00003290  4AAD 9D72                tst.l      [A5 - 0x628E]
  4791. 00003294  584F                     addq.w     A7, 4
  4792. 00003296  6614                     bne        +0x16 /* 000032AC */
  4793. 00003298  486D E9C0                pea.l      [A5 - 0x1640]
  4794. 0000329C  486D EB40                pea.l      [A5 - 0x14C0]
  4795. 000032A0  4EAD DCD0                jsr        [A5 - 0x2330]
  4796. 000032A4  7001                     moveq.l    D0, 0x01
  4797. 000032A6  2B40 9D72                move.l     [A5 - 0x628E], D0
  4798. 000032AA  504F                     addq.w     A7, 8
  4799. label000032AC:
  4800. 000032AC  257C 544F 5043 004C      move.l     [A2 + 0x4C], 0x544F5043 /* 'TOPC' */
  4801. 000032B4  2F3C 4350 4E4C           move.l     -[A7], 0x43504E4C /* 'CPNL' */
  4802. 000032BA  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4803. 000032BE  4EAD E828                jsr        [A5 - 0x17D8]
  4804. 000032C2  2F40 00BE                move.l     [A7 + 0xBE], D0
  4805. 000032C6  3F45 00CE                move.w     [A7 + 0xCE], D5
  4806. 000032CA  4AAA 0054                tst.l      [A2 + 0x54]
  4807. 000032CE  504F                     addq.w     A7, 8
  4808. 000032D0  6732                     beq        +0x34 /* 00003304 */
  4809. 000032D2  486F 0042                pea.l      [A7 + 0x42]
  4810. 000032D6  4EBA DF50                jsr        [PC - 0x20B0 /* 00001228 */]
  4811. 000032DA  2F6F 0046 0020           move.l     [A7 + 0x20], [A7 + 0x46]
  4812. 000032E0  2F6F 004A 0024           move.l     [A7 + 0x24], [A7 + 0x4A]
  4813. 000032E6  302F 005C                move.w     D0, [A7 + 0x5C]
  4814. 000032EA  7201                     moveq.l    D1, 0x01
  4815. 000032EC  C081                     and.l      D0, D1
  4816. 000032EE  56C0                     sne        D0
  4817. 000032F0  4400                     neg.b      D0
  4818. 000032F2  4880                     ext.w      D0
  4819. 000032F4  48C0                     ext.l      D0
  4820. 000032F6  2F40 00BE                move.l     [A7 + 0xBE], D0
  4821. 000032FA  42AF 00C2                clr.l      [A7 + 0xC2]
  4822. 000032FE  584F                     addq.w     A7, 4
  4823. 00003300  6000 00AA                bra        +0xAC /* 000033AC */
  4824. label00003304:
  4825. 00003304  1F3C 0009                move.b     -[A7], 0x9 /* '\t' */
  4826. 00003308  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4827. 0000330C  4EAD E818                jsr        [A5 - 0x17E8]
  4828. 00003310  2810                     move.l     D4, [A0]
  4829. 00003312  2F04                     move.l     -[A7], D4
  4830. 00003314  3F05                     move.w     -[A7], D5
  4831. 00003316  4EAD E2D0                jsr        [A5 - 0x1D30]
  4832. 0000331A  1C00                     move.b     D6, D0
  4833. 0000331C  486F 001C                pea.l      [A7 + 0x1C]
  4834. 00003320  486F 00DE                pea.l      [A7 + 0xDE]
  4835. 00003324  486F 00E0                pea.l      [A7 + 0xE0]
  4836. 00003328  486F 0020                pea.l      [A7 + 0x20]
  4837. 0000332C  2F04                     move.l     -[A7], D4
  4838. 0000332E  3F05                     move.w     -[A7], D5
  4839. 00003330  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4840. 00003334  4EAD E2C8                jsr        [A5 - 0x1D38]
  4841. 00003338  2F6F 0036 00E0           move.l     [A7 + 0xE0], [A7 + 0x36]
  4842. 0000333E  2F6F 002E 0042           move.l     [A7 + 0x42], [A7 + 0x2E]
  4843. 00003344  2F6F 0032 0046           move.l     [A7 + 0x46], [A7 + 0x32]
  4844. 0000334A  1006                     move.b     D0, D6
  4845. 0000334C  7204                     moveq.l    D1, 0x04
  4846. 0000334E  C081                     and.l      D0, D1
  4847. 00003350  57C0                     seq        D0
  4848. 00003352  4400                     neg.b      D0
  4849. 00003354  4880                     ext.w      D0
  4850. 00003356  48C0                     ext.l      D0
  4851. 00003358  2F40 00E4                move.l     [A7 + 0xE4], D0
  4852. 0000335C  42A7                     clr.l      -[A7]
  4853. 0000335E  486F 00E8                pea.l      [A7 + 0xE8]
  4854. 00003362  486F 00E8                pea.l      [A7 + 0xE8]
  4855. 00003366  486F 0100                pea.l      [A7 + 0x100]
  4856. 0000336A  486F 0102                pea.l      [A7 + 0x102]
  4857. 0000336E  2F04                     move.l     -[A7], D4
  4858. 00003370  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4859. 00003374  4EAD E8B8                jsr        [A5 - 0x1748]
  4860. 00003378  4AAD B650                tst.l      [A5 - 0x49B0]
  4861. 0000337C  4FEF 0042                lea.l      A7, [A7 + 0x42]
  4862. 00003380  672A                     beq        +0x2C /* 000033AC */
  4863. 00003382  4A03                     tst.b      D3
  4864. 00003384  6706                     beq        +0x8 /* 0000338C */
  4865. 00003386  0C03 0002                cmpi.b     D3, 0x2
  4866. 0000338A  6620                     bne        +0x22 /* 000033AC */
  4867. label0000338C:
  4868. 0000338C  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4869. 00003390  4EAD E570                jsr        [A5 - 0x1A90]
  4870. 00003394  2F48 00B6                move.l     [A7 + 0xB6], A0
  4871. 00003398  4AAF 00B6                tst.l      [A7 + 0xB6]
  4872. 0000339C  584F                     addq.w     A7, 4
  4873. 0000339E  660C                     bne        +0xE /* 000033AC */
  4874. 000033A0  7094                     moveq.l    D0, 0xFFFFFF94
  4875. 000033A2  4FEF 00D0                lea.l      A7, [A7 + 0xD0]
  4876. 000033A6  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  4877. 000033AA  4E75                     rts
  4878. label000033AC:
  4879. 000033AC  554F                     subq.w     A7, 2
  4880. 000033AE  486F 001E                pea.l      [A7 + 0x1E]
  4881. 000033B2  A8AE                     syscall    EmptyRect
  4882. 000033B4  101F                     move.b     D0, [A7]+
  4883. 000033B6  6738                     beq        +0x3A /* 000033F0 */
  4884. 000033B8  594F                     subq.w     A7, 4
  4885. 000033BA  2EB8 09EE                move.l     [A7], [0x000009EE /* GrayRgn */]
  4886. 000033BE  205F                     movea.l    A0, [A7]+
  4887. 000033C0  2848                     movea.l    A4, A0
  4888. 000033C2  2654                     movea.l    A3, [A4]
  4889. 000033C4  548B                     addq.l     A3, 2
  4890. 000033C6  426F 001C                clr.w      [A7 + 0x1C]
  4891. 000033CA  426F 001E                clr.w      [A7 + 0x1E]
  4892. 000033CE  302B 0002                move.w     D0, [A3 + 0x2]
  4893. 000033D2  48C0                     ext.l      D0
  4894. 000033D4  322B 0006                move.w     D1, [A3 + 0x6]
  4895. 000033D8  48C1                     ext.l      D1
  4896. 000033DA  9280                     sub.l      D1, D0
  4897. 000033DC  3F41 0022                move.w     [A7 + 0x22], D1
  4898. 000033E0  3013                     move.w     D0, [A3]
  4899. 000033E2  48C0                     ext.l      D0
  4900. 000033E4  322B 0004                move.w     D1, [A3 + 0x4]
  4901. 000033E8  48C1                     ext.l      D1
  4902. 000033EA  9280                     sub.l      D1, D0
  4903. 000033EC  3F41 0020                move.w     [A7 + 0x20], D1
  4904. label000033F0:
  4905. 000033F0  2F6F 001C 002C           move.l     [A7 + 0x2C], [A7 + 0x1C]
  4906. 000033F6  2F6F 0020 0030           move.l     [A7 + 0x30], [A7 + 0x20]
  4907. 000033FC  0C03 0001                cmpi.b     D3, 0x1
  4908. 00003400  660A                     bne        +0xC /* 0000340C */
  4909. 00003402  486F 0034                pea.l      [A7 + 0x34]
  4910. 00003406  4EBA E1BA                jsr        [PC - 0x1E46 /* 000015C2 */]
  4911. 0000340A  584F                     addq.w     A7, 4
  4912. label0000340C:
  4913. 0000340C  594F                     subq.w     A7, 4
  4914. 0000340E  A8D8                     syscall    NewRgn
  4915. 00003410  205F                     movea.l    A0, [A7]+
  4916. 00003412  2F48 008A                move.l     [A7 + 0x8A], A0
  4917. 00003416  554F                     subq.w     A7, 2
  4918. 00003418  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4919. 0000341C  301F                     move.w     D0, [A7]+
  4920. 0000341E  3800                     move.w     D4, D0
  4921. 00003420  671C                     beq        +0x1E /* 0000343E */
  4922. 00003422  4AAF 00B2                tst.l      [A7 + 0xB2]
  4923. 00003426  670A                     beq        +0xC /* 00003432 */
  4924. 00003428  2F2F 00B2                move.l     -[A7], [A7 + 0xB2]
  4925. 0000342C  4EAD E578                jsr        [A5 - 0x1A88]
  4926. 00003430  584F                     addq.w     A7, 4
  4927. label00003432:
  4928. 00003432  3004                     move.w     D0, D4
  4929. 00003434  4FEF 00D0                lea.l      A7, [A7 + 0xD0]
  4930. 00003438  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  4931. 0000343C  4E75                     rts
  4932. label0000343E:
  4933. 0000343E  4AAA 0054                tst.l      [A2 + 0x54]
  4934. 00003442  6614                     bne        +0x16 /* 00003458 */
  4935. 00003444  0C03 0001                cmpi.b     D3, 0x1
  4936. 00003448  670E                     beq        +0x10 /* 00003458 */
  4937. 0000344A  486F 0014                pea.l      [A7 + 0x14]
  4938. 0000344E  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4939. 00003452  4EBA 1014                jsr        [PC + 0x1014 /* 00004468 */]
  4940. 00003456  504F                     addq.w     A7, 8
  4941. label00003458:
  4942. 00003458  4857                     pea.l      [A7]
  4943. 0000345A  486F 0008                pea.l      [A7 + 0x8]
  4944. 0000345E  3F05                     move.w     -[A7], D5
  4945. 00003460  4EAD E248                jsr        [A5 - 0x1DB8]
  4946. 00003464  102F 0011                move.b     D0, [A7 + 0x11]
  4947. 00003468  ED08                     lsl        D0.b, 6
  4948. 0000346A  0200 0040                andi.b     D0, 0x40 /* '@' */
  4949. 0000346E  022F 00BF 00CC           andi.b     [A7 + 0xCC], 0xBF
  4950. 00003474  812F 00CC                or.b       [A7 + 0xCC], D0
  4951. 00003478  102F 000D                move.b     D0, [A7 + 0xD]
  4952. 0000347C  EB08                     lsl        D0.b, 5
  4953. 0000347E  0200 0020                andi.b     D0, 0x20 /* ' ' */
  4954. 00003482  022F 00DF 00CC           andi.b     [A7 + 0xCC], 0xDF
  4955. 00003488  812F 00CC                or.b       [A7 + 0xCC], D0
  4956. 0000348C  486F 001E                pea.l      [A7 + 0x1E]
  4957. 00003490  486A 0050                pea.l      [A2 + 0x50]
  4958. 00003494  4878 00BC                push.l     0xBC
  4959. 00003498  4EAD DA36                jsr        [A5 - 0x25CA]
  4960. 0000349C  301F                     move.w     D0, [A7]+
  4961. 0000349E  3800                     move.w     D4, D0
  4962. 000034A0  4A44                     tst.w      D4
  4963. 000034A2  504F                     addq.w     A7, 8
  4964. 000034A4  670E                     beq        +0x10 /* 000034B4 */
  4965. 000034A6  486F 0014                pea.l      [A7 + 0x14]
  4966. 000034AA  2F0A                     move.l     -[A7], A2
  4967. 000034AC  4EBA 1890                jsr        [PC + 0x1890 /* 00004D3E */]
  4968. 000034B0  504F                     addq.w     A7, 8
  4969. 000034B2  600C                     bra        +0xE /* 000034C0 */
  4970. label000034B4:
  4971. 000034B4  486F 0014                pea.l      [A7 + 0x14]
  4972. 000034B8  2F0A                     move.l     -[A7], A2
  4973. 000034BA  4EBA 2818                jsr        [PC + 0x2818 /* 00005CD4 */]
  4974. 000034BE  504F                     addq.w     A7, 8
  4975. label000034C0:
  4976. 000034C0  3004                     move.w     D0, D4
  4977. 000034C2  4FEF 00D0                lea.l      A7, [A7 + 0xD0]
  4978. 000034C6  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  4979. 000034CA  4E75                     rts
  4980. 000034CC  48E7 0030                movem.l    -[A7], A2,A3
  4981. 000034D0  246F 000C                movea.l    A2, [A7 + 0xC]
  4982. 000034D4  4878 0001                push.l     0x1
  4983. 000034D8  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4984. 000034DC  4EAD E480                jsr        [A5 - 0x1B80]
  4985. 000034E0  4AAA 0050                tst.l      [A2 + 0x50]
  4986. 000034E4  504F                     addq.w     A7, 8
  4987. 000034E6  675C                     beq        +0x5E /* 00003544 */
  4988. 000034E8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  4989. 000034EC  4EAD DD80                jsr        [A5 - 0x2280]
  4990. 000034F0  2648                     movea.l    A3, A0
  4991. 000034F2  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4992. 000034F6  4EAD E848                jsr        [A5 - 0x17B8]
  4993. 000034FA  5300                     subq.b     D0, 1
  4994. 000034FC  504F                     addq.w     A7, 8
  4995. 000034FE  660C                     bne        +0xE /* 0000350C */
  4996. 00003500  2F0B                     move.l     -[A7], A3
  4997. 00003502  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4998. 00003506  4EBA E0E8                jsr        [PC - 0x1F18 /* 000015F0 */]
  4999. 0000350A  504F                     addq.w     A7, 8
  5000. label0000350C:
  5001. 0000350C  4A6D B48A                tst.w      [A5 - 0x4B76]
  5002. 00003510  6718                     beq        +0x1A /* 0000352A */
  5003. 00003512  4AAA 0054                tst.l      [A2 + 0x54]
  5004. 00003516  6612                     bne        +0x14 /* 0000352A */
  5005. 00003518  4878 0001                push.l     0x1
  5006. 0000351C  42A7                     clr.l      -[A7]
  5007. 0000351E  2F0B                     move.l     -[A7], A3
  5008. 00003520  2F0A                     move.l     -[A7], A2
  5009. 00003522  4EBA 3054                jsr        [PC + 0x3054 /* 00006578 */]
  5010. 00003526  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5011. label0000352A:
  5012. 0000352A  2F0B                     move.l     -[A7], A3
  5013. 0000352C  2F0A                     move.l     -[A7], A2
  5014. 0000352E  4EBA 180E                jsr        [PC + 0x180E /* 00004D3E */]
  5015. 00003532  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5016. 00003536  4EAD DD88                jsr        [A5 - 0x2278]
  5017. 0000353A  206A 0050                movea.l    A0, [A2 + 0x50]
  5018. 0000353E  A023                     syscall    DisposHandle/DisposeHandle
  5019. 00003540  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5020. label00003544:
  5021. 00003544  4CDF 0C00                movem.l    A2,A3, [A7]+
  5022. 00003548  4E75                     rts
  5023. 0000354A  48E7 0030                movem.l    -[A7], A2,A3
  5024. 0000354E  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  5025. 00003552  246F 001C                movea.l    A2, [A7 + 0x1C]
  5026. 00003556  7000                     moveq.l    D0, 0x00
  5027. 00003558  102D 81A0                move.b     D0, [A5 - 0x7E60]
  5028. 0000355C  7202                     moveq.l    D1, 0x02
  5029. 0000355E  B081                     cmp.l      D0, D1
  5030. 00003560  6C10                     bge        +0x12 /* 00003572 */
  5031. 00003562  486A 0040                pea.l      [A2 + 0x40]
  5032. 00003566  A8A3                     syscall    EraseRect
  5033. 00003568  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5034. 0000356C  4CDF 0C00                movem.l    A2,A3, [A7]+
  5035. 00003570  4E75                     rts
  5036. label00003572:
  5037. 00003572  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5038. 00003576  4EAD DD80                jsr        [A5 - 0x2280]
  5039. 0000357A  2648                     movea.l    A3, A0
  5040. 0000357C  4EAD DD70                jsr        [A5 - 0x2290]
  5041. 00003580  42A7                     clr.l      -[A7]
  5042. 00003582  2F0A                     move.l     -[A7], A2
  5043. 00003584  4EBA 3B42                jsr        [PC + 0x3B42 /* 000070C8 */]
  5044. 00003588  4AAB 008E                tst.l      [A3 + 0x8E]
  5045. 0000358C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5046. 00003590  6726                     beq        +0x28 /* 000035B8 */
  5047. 00003592  1F3C 0001                move.b     -[A7], 0x1
  5048. 00003596  486F 0002                pea.l      [A7 + 0x2]
  5049. 0000359A  2F0B                     move.l     -[A7], A3
  5050. 0000359C  2F0A                     move.l     -[A7], A2
  5051. 0000359E  4EBA 1630                jsr        [PC + 0x1630 /* 00004BD0 */]
  5052. 000035A2  1F3C 0002                move.b     -[A7], 0x2
  5053. 000035A6  2F0B                     move.l     -[A7], A3
  5054. 000035A8  2F0A                     move.l     -[A7], A2
  5055. 000035AA  4EBA 3436                jsr        [PC + 0x3436 /* 000069E2 */]
  5056. 000035AE  486F 0018                pea.l      [A7 + 0x18]
  5057. 000035B2  A8A3                     syscall    EraseRect
  5058. 000035B4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5059. label000035B8:
  5060. 000035B8  4227                     clr.b      -[A7]
  5061. 000035BA  486F 000A                pea.l      [A7 + 0xA]
  5062. 000035BE  2F0B                     move.l     -[A7], A3
  5063. 000035C0  2F0A                     move.l     -[A7], A2
  5064. 000035C2  4EBA 160C                jsr        [PC + 0x160C /* 00004BD0 */]
  5065. 000035C6  1F3C 0001                move.b     -[A7], 0x1
  5066. 000035CA  2F0B                     move.l     -[A7], A3
  5067. 000035CC  2F0A                     move.l     -[A7], A2
  5068. 000035CE  4EBA 3412                jsr        [PC + 0x3412 /* 000069E2 */]
  5069. 000035D2  4AAA 0054                tst.l      [A2 + 0x54]
  5070. 000035D6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5071. 000035DA  6616                     bne        +0x18 /* 000035F2 */
  5072. 000035DC  4AAB 009A                tst.l      [A3 + 0x9A]
  5073. 000035E0  670C                     beq        +0xE /* 000035EE */
  5074. 000035E2  206B 009A                movea.l    A0, [A3 + 0x9A]
  5075. 000035E6  2050                     movea.l    A0, [A0]
  5076. 000035E8  4A28 0010                tst.b      [A0 + 0x10]
  5077. 000035EC  6604                     bne        +0x6 /* 000035F2 */
  5078. label000035EE:
  5079. 000035EE  526F 000E                addq.w     [A7 + 0xE], 1
  5080. label000035F2:
  5081. 000035F2  486F 0008                pea.l      [A7 + 0x8]
  5082. 000035F6  A8A3                     syscall    EraseRect
  5083. 000035F8  2F0B                     move.l     -[A7], A3
  5084. 000035FA  2F0A                     move.l     -[A7], A2
  5085. 000035FC  4EBA 3DEC                jsr        [PC + 0x3DEC /* 000073EA */]
  5086. 00003600  4EAD DD58                jsr        [A5 - 0x22A8]
  5087. 00003604  4EAD DD78                jsr        [A5 - 0x2288]
  5088. 00003608  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5089. 0000360C  4EAD DD88                jsr        [A5 - 0x2278]
  5090. 00003610  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  5091. 00003614  4CDF 0C00                movem.l    A2,A3, [A7]+
  5092. 00003618  4E75                     rts
  5093. 0000361A  48E7 0030                movem.l    -[A7], A2,A3
  5094. 0000361E  4FEF FFDC                lea.l      A7, [A7 - 0x24]
  5095. 00003622  266F 0030                movea.l    A3, [A7 + 0x30]
  5096. 00003626  4AAB 0050                tst.l      [A3 + 0x50]
  5097. 0000362A  6700 0114                beq        +0x116 /* 00003740 */
  5098. 0000362E  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5099. 00003632  4EAD DD80                jsr        [A5 - 0x2280]
  5100. 00003636  2448                     movea.l    A2, A0
  5101. 00003638  2F0A                     move.l     -[A7], A2
  5102. 0000363A  2F0B                     move.l     -[A7], A3
  5103. 0000363C  4EBA 175A                jsr        [PC + 0x175A /* 00004D98 */]
  5104. 00003640  1F3C 0002                move.b     -[A7], 0x2
  5105. 00003644  2F0A                     move.l     -[A7], A2
  5106. 00003646  2F0B                     move.l     -[A7], A3
  5107. 00003648  4EBA 1BEE                jsr        [PC + 0x1BEE /* 00005238 */]
  5108. 0000364C  2F0A                     move.l     -[A7], A2
  5109. 0000364E  2F0B                     move.l     -[A7], A3
  5110. 00003650  4EBA 309C                jsr        [PC + 0x309C /* 000066EE */]
  5111. 00003654  2F6B 0040 0032           move.l     [A7 + 0x32], [A3 + 0x40]
  5112. 0000365A  2F6B 0044 0036           move.l     [A7 + 0x36], [A3 + 0x44]
  5113. 00003660  486F 0032                pea.l      [A7 + 0x32]
  5114. 00003664  4878 FFFF                push.l     0xFFFF
  5115. 00003668  A8A9                     syscall    InsetRect
  5116. 0000366A  486F 0032                pea.l      [A7 + 0x32]
  5117. 0000366E  4EAD DD50                jsr        [A5 - 0x22B0]
  5118. 00003672  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  5119. 00003676  4EBA E28E                jsr        [PC - 0x1D72 /* 00001906 */]
  5120. 0000367A  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  5121. 0000367E  4EBA E286                jsr        [PC - 0x1D7A /* 00001906 */]
  5122. 00003682  4AAA 009A                tst.l      [A2 + 0x9A]
  5123. 00003686  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  5124. 0000368A  6756                     beq        +0x58 /* 000036E2 */
  5125. 0000368C  206A 009A                movea.l    A0, [A2 + 0x9A]
  5126. 00003690  2050                     movea.l    A0, [A0]
  5127. 00003692  4A28 0010                tst.b      [A0 + 0x10]
  5128. 00003696  674A                     beq        +0x4C /* 000036E2 */
  5129. 00003698  1F3C 0014                move.b     -[A7], 0x14
  5130. 0000369C  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5131. 000036A0  4EAD E818                jsr        [A5 - 0x17E8]
  5132. 000036A4  4A90                     tst.l      [A0]
  5133. 000036A6  5C4F                     addq.w     A7, 6
  5134. 000036A8  6738                     beq        +0x3A /* 000036E2 */
  5135. 000036AA  302A 0016                move.w     D0, [A2 + 0x16]
  5136. 000036AE  48C0                     ext.l      D0
  5137. 000036B0  72F1                     moveq.l    D1, 0xFFFFFFF1
  5138. 000036B2  D081                     add.l      D0, D1
  5139. 000036B4  3F40 001E                move.w     [A7 + 0x1E], D0
  5140. 000036B8  48C0                     ext.l      D0
  5141. 000036BA  7210                     moveq.l    D1, 0x10
  5142. 000036BC  D081                     add.l      D0, D1
  5143. 000036BE  3F40 0022                move.w     [A7 + 0x22], D0
  5144. 000036C2  206A 009A                movea.l    A0, [A2 + 0x9A]
  5145. 000036C6  2050                     movea.l    A0, [A0]
  5146. 000036C8  3028 000C                move.w     D0, [A0 + 0xC]
  5147. 000036CC  48C0                     ext.l      D0
  5148. 000036CE  5380                     subq.l     D0, 1
  5149. 000036D0  3F40 001C                move.w     [A7 + 0x1C], D0
  5150. 000036D4  48C0                     ext.l      D0
  5151. 000036D6  D081                     add.l      D0, D1
  5152. 000036D8  3F40 0020                move.w     [A7 + 0x20], D0
  5153. 000036DC  486F 001C                pea.l      [A7 + 0x1C]
  5154. 000036E0  A8A1                     syscall    FrameRect
  5155. label000036E2:
  5156. 000036E2  4EAD DD58                jsr        [A5 - 0x22A8]
  5157. 000036E6  2F6A 00A6 0010           move.l     [A7 + 0x10], [A2 + 0xA6]
  5158. 000036EC  4AAB 0054                tst.l      [A3 + 0x54]
  5159. 000036F0  6622                     bne        +0x24 /* 00003714 */
  5160. 000036F2  42A7                     clr.l      -[A7]
  5161. 000036F4  486F 0004                pea.l      [A7 + 0x4]
  5162. 000036F8  486F 0018                pea.l      [A7 + 0x18]
  5163. 000036FC  486F 0012                pea.l      [A7 + 0x12]
  5164. 00003700  486F 0014                pea.l      [A7 + 0x14]
  5165. 00003704  4878 FFFF                push.l     0xFFFF
  5166. 00003708  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5167. 0000370C  4EAD E8B8                jsr        [A5 - 0x1748]
  5168. 00003710  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  5169. label00003714:
  5170. 00003714  4AAF 0010                tst.l      [A7 + 0x10]
  5171. 00003718  671C                     beq        +0x1E /* 00003736 */
  5172. 0000371A  2F6A 0010 0008           move.l     [A7 + 0x8], [A2 + 0x10]
  5173. 00003720  2F6A 0014 000C           move.l     [A7 + 0xC], [A2 + 0x14]
  5174. 00003726  486F 0008                pea.l      [A7 + 0x8]
  5175. 0000372A  4878 FFFF                push.l     0xFFFF
  5176. 0000372E  A8A9                     syscall    InsetRect
  5177. 00003730  486F 0008                pea.l      [A7 + 0x8]
  5178. 00003734  A8A1                     syscall    FrameRect
  5179. label00003736:
  5180. 00003736  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5181. 0000373A  4EAD DD88                jsr        [A5 - 0x2278]
  5182. 0000373E  584F                     addq.w     A7, 4
  5183. label00003740:
  5184. 00003740  4FEF 0024                lea.l      A7, [A7 + 0x24]
  5185. 00003744  4CDF 0C00                movem.l    A2,A3, [A7]+
  5186. 00003748  4E75                     rts
  5187. 0000374A  48E7 0030                movem.l    -[A7], A2,A3
  5188. 0000374E  514F                     subq.w     A7, 8
  5189. 00003750  266F 0014                movea.l    A3, [A7 + 0x14]
  5190. 00003754  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5191. 00003758  4EAD DD80                jsr        [A5 - 0x2280]
  5192. 0000375C  2448                     movea.l    A2, A0
  5193. 0000375E  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5194. 00003762  4EAD E848                jsr        [A5 - 0x17B8]
  5195. 00003766  5300                     subq.b     D0, 1
  5196. 00003768  504F                     addq.w     A7, 8
  5197. 0000376A  6608                     bne        +0xA /* 00003774 */
  5198. 0000376C  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5199. 00003770  4EAD DF80                jsr        [A5 - 0x2080]
  5200. label00003774:
  5201. 00003774  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5202. 00003778  4EAD DD40                jsr        [A5 - 0x22C0]
  5203. 0000377C  4AAA 0096                tst.l      [A2 + 0x96]
  5204. 00003780  584F                     addq.w     A7, 4
  5205. 00003782  6720                     beq        +0x22 /* 000037A4 */
  5206. 00003784  206A 0096                movea.l    A0, [A2 + 0x96]
  5207. 00003788  2050                     movea.l    A0, [A0]
  5208. 0000378A  4A28 0010                tst.b      [A0 + 0x10]
  5209. 0000378E  6714                     beq        +0x16 /* 000037A4 */
  5210. 00003790  206A 0096                movea.l    A0, [A2 + 0x96]
  5211. 00003794  2050                     movea.l    A0, [A0]
  5212. 00003796  2EA8 0008                move.l     [A7], [A0 + 0x8]
  5213. 0000379A  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  5214. 000037A0  4857                     pea.l      [A7]
  5215. 000037A2  A928                     syscall    InvalRect
  5216. label000037A4:
  5217. 000037A4  4AAA 009A                tst.l      [A2 + 0x9A]
  5218. 000037A8  6720                     beq        +0x22 /* 000037CA */
  5219. 000037AA  206A 009A                movea.l    A0, [A2 + 0x9A]
  5220. 000037AE  2050                     movea.l    A0, [A0]
  5221. 000037B0  4A28 0010                tst.b      [A0 + 0x10]
  5222. 000037B4  6714                     beq        +0x16 /* 000037CA */
  5223. 000037B6  206A 009A                movea.l    A0, [A2 + 0x9A]
  5224. 000037BA  2050                     movea.l    A0, [A0]
  5225. 000037BC  2EA8 0008                move.l     [A7], [A0 + 0x8]
  5226. 000037C0  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  5227. 000037C6  4857                     pea.l      [A7]
  5228. 000037C8  A928                     syscall    InvalRect
  5229. label000037CA:
  5230. 000037CA  4EAD DD48                jsr        [A5 - 0x22B8]
  5231. 000037CE  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5232. 000037D2  4EAD DD88                jsr        [A5 - 0x2278]
  5233. 000037D6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5234. 000037DA  4CDF 0C00                movem.l    A2,A3, [A7]+
  5235. 000037DE  4E75                     rts
  5236. 000037E0  2F0A                     move.l     -[A7], A2
  5237. 000037E2  246F 0008                movea.l    A2, [A7 + 0x8]
  5238. 000037E6  42A7                     clr.l      -[A7]
  5239. 000037E8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5240. 000037EC  4EAD DD80                jsr        [A5 - 0x2280]
  5241. 000037F0  584F                     addq.w     A7, 4
  5242. 000037F2  2F08                     move.l     -[A7], A0
  5243. 000037F4  2F0A                     move.l     -[A7], A2
  5244. 000037F6  4EBA 2CF0                jsr        [PC + 0x2CF0 /* 000064E8 */]
  5245. 000037FA  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5246. 000037FE  4EAD DD88                jsr        [A5 - 0x2278]
  5247. 00003802  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5248. 00003806  245F                     movea.l    A2, [A7]+
  5249. 00003808  4E75                     rts
  5250. 0000380A  48E7 0030                movem.l    -[A7], A2,A3
  5251. 0000380E  266F 000C                movea.l    A3, [A7 + 0xC]
  5252. 00003812  7000                     moveq.l    D0, 0x00
  5253. 00003814  102D 81A0                move.b     D0, [A5 - 0x7E60]
  5254. 00003818  7202                     moveq.l    D1, 0x02
  5255. 0000381A  B081                     cmp.l      D0, D1
  5256. 0000381C  6D46                     blt        +0x48 /* 00003864 */
  5257. 0000381E  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5258. 00003822  4EAD DD80                jsr        [A5 - 0x2280]
  5259. 00003826  2448                     movea.l    A2, A0
  5260. 00003828  4AAA 008E                tst.l      [A2 + 0x8E]
  5261. 0000382C  584F                     addq.w     A7, 4
  5262. 0000382E  670E                     beq        +0x10 /* 0000383E */
  5263. 00003830  2F2A 008E                move.l     -[A7], [A2 + 0x8E]
  5264. 00003834  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5265. 00003838  4EAD DAA8                jsr        [A5 - 0x2558]
  5266. 0000383C  504F                     addq.w     A7, 8
  5267. label0000383E:
  5268. 0000383E  4AAA 0092                tst.l      [A2 + 0x92]
  5269. 00003842  670E                     beq        +0x10 /* 00003852 */
  5270. 00003844  2F2A 0092                move.l     -[A7], [A2 + 0x92]
  5271. 00003848  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5272. 0000384C  4EAD DAA8                jsr        [A5 - 0x2558]
  5273. 00003850  504F                     addq.w     A7, 8
  5274. label00003852:
  5275. 00003852  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5276. 00003856  4EAD DD88                jsr        [A5 - 0x2278]
  5277. 0000385A  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5278. 0000385E  4EAD E3B0                jsr        [A5 - 0x1C50]
  5279. 00003862  504F                     addq.w     A7, 8
  5280. label00003864:
  5281. 00003864  4CDF 0C00                movem.l    A2,A3, [A7]+
  5282. 00003868  4E75                     rts
  5283. 0000386A  48E7 1030                movem.l    -[A7], D3,A2,A3
  5284. 0000386E  514F                     subq.w     A7, 8
  5285. 00003870  266F 0018                movea.l    A3, [A7 + 0x18]
  5286. 00003874  262F 001C                move.l     D3, [A7 + 0x1C]
  5287. 00003878  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5288. 0000387C  4EAD DD80                jsr        [A5 - 0x2280]
  5289. 00003880  2448                     movea.l    A2, A0
  5290. 00003882  4A83                     tst.l      D3
  5291. 00003884  584F                     addq.w     A7, 4
  5292. 00003886  660E                     bne        +0x10 /* 00003896 */
  5293. 00003888  42A7                     clr.l      -[A7]
  5294. 0000388A  2F0A                     move.l     -[A7], A2
  5295. 0000388C  2F0B                     move.l     -[A7], A3
  5296. 0000388E  4EBA 2C58                jsr        [PC + 0x2C58 /* 000064E8 */]
  5297. 00003892  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5298. label00003896:
  5299. 00003896  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  5300. 0000389A  4EBA E1B2                jsr        [PC - 0x1E4E /* 00001A4E */]
  5301. 0000389E  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  5302. 000038A2  4EBA E1AA                jsr        [PC - 0x1E56 /* 00001A4E */]
  5303. 000038A6  4AAA 0070                tst.l      [A2 + 0x70]
  5304. 000038AA  504F                     addq.w     A7, 8
  5305. 000038AC  6756                     beq        +0x58 /* 00003904 */
  5306. 000038AE  2EAA 0048                move.l     [A7], [A2 + 0x48]
  5307. 000038B2  2F6A 004C 0004           move.l     [A7 + 0x4], [A2 + 0x4C]
  5308. 000038B8  4A2A 0069                tst.b      [A2 + 0x69]
  5309. 000038BC  672E                     beq        +0x30 /* 000038EC */
  5310. 000038BE  4857                     pea.l      [A7]
  5311. 000038C0  2F0A                     move.l     -[A7], A2
  5312. 000038C2  4EBA 2B82                jsr        [PC + 0x2B82 /* 00006446 */]
  5313. 000038C6  4480                     neg.l      D0
  5314. 000038C8  322A 0012                move.w     D1, [A2 + 0x12]
  5315. 000038CC  48C1                     ext.l      D1
  5316. 000038CE  D280                     add.l      D1, D0
  5317. 000038D0  584F                     addq.w     A7, 4
  5318. 000038D2  3F01                     move.w     -[A7], D1
  5319. 000038D4  2F0A                     move.l     -[A7], A2
  5320. 000038D6  4EBA 2B8C                jsr        [PC + 0x2B8C /* 00006464 */]
  5321. 000038DA  4480                     neg.l      D0
  5322. 000038DC  322A 0010                move.w     D1, [A2 + 0x10]
  5323. 000038E0  48C1                     ext.l      D1
  5324. 000038E2  D280                     add.l      D1, D0
  5325. 000038E4  584F                     addq.w     A7, 4
  5326. 000038E6  3F01                     move.w     -[A7], D1
  5327. 000038E8  A8A8                     syscall    OffsetRect
  5328. 000038EA  600A                     bra        +0xC /* 000038F6 */
  5329. label000038EC:
  5330. 000038EC  4857                     pea.l      [A7]
  5331. 000038EE  4267                     clr.w      -[A7]
  5332. 000038F0  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  5333. 000038F4  A8A8                     syscall    OffsetRect
  5334. label000038F6:
  5335. 000038F6  4857                     pea.l      [A7]
  5336. 000038F8  4878 FFFF                push.l     0xFFFF
  5337. 000038FC  A8A9                     syscall    InsetRect
  5338. 000038FE  4857                     pea.l      [A7]
  5339. 00003900  A928                     syscall    InvalRect
  5340. 00003902  6014                     bra        +0x16 /* 00003918 */
  5341. label00003904:
  5342. 00003904  554F                     subq.w     A7, 2
  5343. 00003906  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  5344. 0000390A  A8E2                     syscall    EmptyRgn
  5345. 0000390C  101F                     move.b     D0, [A7]+
  5346. 0000390E  6608                     bne        +0xA /* 00003918 */
  5347. 00003910  2F0A                     move.l     -[A7], A2
  5348. 00003912  4EBA 2AA6                jsr        [PC + 0x2AA6 /* 000063BA */]
  5349. 00003916  584F                     addq.w     A7, 4
  5350. label00003918:
  5351. 00003918  2F03                     move.l     -[A7], D3
  5352. 0000391A  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5353. 0000391E  4EAD E410                jsr        [A5 - 0x1BF0]
  5354. 00003922  4AAA 009E                tst.l      [A2 + 0x9E]
  5355. 00003926  504F                     addq.w     A7, 8
  5356. 00003928  6710                     beq        +0x12 /* 0000393A */
  5357. 0000392A  2F03                     move.l     -[A7], D3
  5358. 0000392C  2F0B                     move.l     -[A7], A3
  5359. 0000392E  2F2A 009E                move.l     -[A7], [A2 + 0x9E]
  5360. 00003932  4EAD E588                jsr        [A5 - 0x1A78]
  5361. 00003936  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5362. label0000393A:
  5363. 0000393A  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5364. 0000393E  4EAD DD88                jsr        [A5 - 0x2278]
  5365. 00003942  4A83                     tst.l      D3
  5366. 00003944  584F                     addq.w     A7, 4
  5367. 00003946  6640                     bne        +0x42 /* 00003988 */
  5368. 00003948  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  5369. 0000394C  4EAD E848                jsr        [A5 - 0x17B8]
  5370. 00003950  5300                     subq.b     D0, 1
  5371. 00003952  584F                     addq.w     A7, 4
  5372. 00003954  6632                     bne        +0x34 /* 00003988 */
  5373. 00003956  594F                     subq.w     A7, 4
  5374. 00003958  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  5375. 0000395C  4E90                     jsr        [A0]
  5376. 0000395E  205F                     movea.l    A0, [A7]+
  5377. 00003960  2448                     movea.l    A2, A0
  5378. 00003962  7601                     moveq.l    D3, 0x01
  5379. 00003964  302A 006C                move.w     D0, [A2 + 0x6C]
  5380. 00003968  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  5381. 0000396C  660E                     bne        +0x10 /* 0000397C */
  5382. 0000396E  2F0A                     move.l     -[A7], A2
  5383. 00003970  4EAD E848                jsr        [A5 - 0x17B8]
  5384. 00003974  5300                     subq.b     D0, 1
  5385. 00003976  584F                     addq.w     A7, 4
  5386. 00003978  6602                     bne        +0x4 /* 0000397C */
  5387. 0000397A  7600                     moveq.l    D3, 0x00
  5388. label0000397C:
  5389. 0000397C  4A83                     tst.l      D3
  5390. 0000397E  6708                     beq        +0xA /* 00003988 */
  5391. 00003980  42A7                     clr.l      -[A7]
  5392. 00003982  4EBA DCB2                jsr        [PC - 0x234E /* 00001636 */]
  5393. 00003986  584F                     addq.w     A7, 4
  5394. label00003988:
  5395. 00003988  504F                     addq.w     A7, 8
  5396. 0000398A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5397. 0000398E  4E75                     rts
  5398. 00003990  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5399. 00003994  4FEF FFB8                lea.l      A7, [A7 - 0x48]
  5400. 00003998  246F 0064                movea.l    A2, [A7 + 0x64]
  5401. 0000399C  2C6F 0068                movea.l    A6, [A7 + 0x68]
  5402. 000039A0  2F6E 000A 0044           move.l     [A7 + 0x44], [A6 + 0xA]
  5403. 000039A6  286A 0050                movea.l    A4, [A2 + 0x50]
  5404. 000039AA  42AD AB18                clr.l      [A5 - 0x54E8]
  5405. 000039AE  2F0C                     move.l     -[A7], A4
  5406. 000039B0  4EAD DD80                jsr        [A5 - 0x2280]
  5407. 000039B4  2648                     movea.l    A3, A0
  5408. 000039B6  486F 0048                pea.l      [A7 + 0x48]
  5409. 000039BA  A871                     syscall    GlobalToLocal
  5410. 000039BC  2F2F 0048                move.l     -[A7], [A7 + 0x48]
  5411. 000039C0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5412. 000039C4  486F 0028                pea.l      [A7 + 0x28]
  5413. 000039C8  A96C                     syscall    FindControl
  5414. 000039CA  301F                     move.w     D0, [A7]+
  5415. 000039CC  3800                     move.w     D4, D0
  5416. 000039CE  544F                     addq.w     A7, 2
  5417. 000039D0  6760                     beq        +0x62 /* 00003A32 */
  5418. 000039D2  206F 001C                movea.l    A0, [A7 + 0x1C]
  5419. 000039D6  B1EB 0096                cmpa.l     A0, [A3 + 0x96]
  5420. 000039DA  6706                     beq        +0x8 /* 000039E2 */
  5421. 000039DC  B1EB 009A                cmpa.l     A0, [A3 + 0x9A]
  5422. 000039E0  6650                     bne        +0x52 /* 00003A32 */
  5423. label000039E2:
  5424. 000039E2  3004                     move.w     D0, D4
  5425. 000039E4  48C0                     ext.l      D0
  5426. 000039E6  0480 0000 0014           subi.l     D0, 0x14
  5427. 000039EC  0C80 0000 006D           cmpi.l     D0, 0x6D /* 'm' */
  5428. 000039F2  6200 02AE                bhi        +0x2B0 /* 00003CA2 */
  5429. 000039F6  5940                     subq.w     D0, 4
  5430. 000039F8  6D22                     blt        +0x24 /* 00003A1C */
  5431. 000039FA  0440 0069                subi.w     D0, 0x69 /* 'i' */
  5432. 000039FE  6D00 02A2                blt        +0x2A4 /* 00003CA2 */
  5433. 00003A02  4E71                     nop
  5434. 00003A04  2F2F 0044                move.l     -[A7], [A7 + 0x44]
  5435. 00003A08  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  5436. 00003A0C  2F0B                     move.l     -[A7], A3
  5437. 00003A0E  2F0A                     move.l     -[A7], A2
  5438. 00003A10  4EBA 2126                jsr        [PC + 0x2126 /* 00005B38 */]
  5439. 00003A14  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5440. 00003A18  6000 0288                bra        +0x28A /* 00003CA2 */
  5441. label00003A1C:
  5442. 00003A1C  554F                     subq.w     A7, 2
  5443. 00003A1E  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  5444. 00003A22  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  5445. 00003A26  486D EB38                pea.l      [A5 - 0x14C8]
  5446. 00003A2A  A968                     syscall    TrackControl
  5447. 00003A2C  301F                     move.w     D0, [A7]+
  5448. 00003A2E  6000 0272                bra        +0x274 /* 00003CA2 */
  5449. label00003A32:
  5450. 00003A32  4A6D B48A                tst.w      [A5 - 0x4B76]
  5451. 00003A36  6700 012E                beq        +0x130 /* 00003B66 */
  5452. 00003A3A  554F                     subq.w     A7, 2
  5453. 00003A3C  2F2F 0046                move.l     -[A7], [A7 + 0x46]
  5454. 00003A40  486B 0018                pea.l      [A3 + 0x18]
  5455. 00003A44  A8AD                     syscall    PtInRect
  5456. 00003A46  101F                     move.b     D0, [A7]+
  5457. 00003A48  6700 011C                beq        +0x11E /* 00003B66 */
  5458. 00003A4C  486F 0010                pea.l      [A7 + 0x10]
  5459. 00003A50  2F2F 0048                move.l     -[A7], [A7 + 0x48]
  5460. 00003A54  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5461. 00003A58  4EAD F668                jsr        [A5 - 0x998]
  5462. 00003A5C  1800                     move.b     D4, D0
  5463. 00003A5E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5464. 00003A62  6700 0102                beq        +0x104 /* 00003B66 */
  5465. 00003A66  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5466. 00003A6A  4EAD DFA8                jsr        [A5 - 0x2058]
  5467. 00003A6E  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  5468. 00003A72  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5469. 00003A76  4EAD E5E0                jsr        [A5 - 0x1A20]
  5470. 00003A7A  42A7                     clr.l      -[A7]
  5471. 00003A7C  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  5472. 00003A80  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5473. 00003A84  4EAD E5F8                jsr        [A5 - 0x1A08]
  5474. 00003A88  4227                     clr.b      -[A7]
  5475. 00003A8A  486F 002E                pea.l      [A7 + 0x2E]
  5476. 00003A8E  2F0B                     move.l     -[A7], A3
  5477. 00003A90  2F0A                     move.l     -[A7], A2
  5478. 00003A92  4EBA 113C                jsr        [PC + 0x113C /* 00004BD0 */]
  5479. 00003A96  486F 003A                pea.l      [A7 + 0x3A]
  5480. 00003A9A  4EAD DD50                jsr        [A5 - 0x22B0]
  5481. 00003A9E  42A7                     clr.l      -[A7]
  5482. 00003AA0  2F0B                     move.l     -[A7], A3
  5483. 00003AA2  2F0A                     move.l     -[A7], A2
  5484. 00003AA4  4EBA 2002                jsr        [PC + 0x2002 /* 00005AA8 */]
  5485. 00003AA8  0C04 0002                cmpi.b     D4, 0x2
  5486. 00003AAC  4FEF 0036                lea.l      A7, [A7 + 0x36]
  5487. 00003AB0  6638                     bne        +0x3A /* 00003AEA */
  5488. 00003AB2  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5489. 00003AB6  4EAD DFA8                jsr        [A5 - 0x2058]
  5490. 00003ABA  486D DF98                pea.l      [A5 - 0x2068]
  5491. 00003ABE  486D EB48                pea.l      [A5 - 0x14B8]
  5492. 00003AC2  302E 000E                move.w     D0, [A6 + 0xE]
  5493. 00003AC6  0280 0000 0200           andi.l     D0, 0x200
  5494. 00003ACC  2F00                     move.l     -[A7], D0
  5495. 00003ACE  486F 0024                pea.l      [A7 + 0x24]
  5496. 00003AD2  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  5497. 00003AD6  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  5498. 00003ADA  4EAD F658                jsr        [A5 - 0x9A8]
  5499. 00003ADE  4EAD DD58                jsr        [A5 - 0x22A8]
  5500. 00003AE2  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  5501. 00003AE6  6000 01BA                bra        +0x1BC /* 00003CA2 */
  5502. label00003AEA:
  5503. 00003AEA  302D 135E                move.w     D0, [A5 + 0x135E]
  5504. 00003AEE  48C0                     ext.l      D0
  5505. 00003AF0  0680 0000 0081           addi.l     D0, 0x81
  5506. 00003AF6  3F00                     move.w     -[A7], D0
  5507. 00003AF8  302D 135E                move.w     D0, [A5 + 0x135E]
  5508. 00003AFC  48C0                     ext.l      D0
  5509. 00003AFE  0680 0000 008C           addi.l     D0, 0x8C
  5510. 00003B04  3F00                     move.w     -[A7], D0
  5511. 00003B06  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  5512. 00003B0A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5513. 00003B0E  4EAD E600                jsr        [A5 - 0x1A00]
  5514. 00003B12  504F                     addq.w     A7, 8
  5515. 00003B14  2F08                     move.l     -[A7], A0
  5516. 00003B16  486D DF98                pea.l      [A5 - 0x2068]
  5517. 00003B1A  486D EB48                pea.l      [A5 - 0x14B8]
  5518. 00003B1E  486F 0024                pea.l      [A7 + 0x24]
  5519. 00003B22  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  5520. 00003B26  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  5521. 00003B2A  4EAD F660                jsr        [A5 - 0x9A0]
  5522. 00003B2E  4EAD DD58                jsr        [A5 - 0x22A8]
  5523. 00003B32  1F3C 0002                move.b     -[A7], 0x2
  5524. 00003B36  2F0A                     move.l     -[A7], A2
  5525. 00003B38  4EBA 05A0                jsr        [PC + 0x5A0 /* 000040DA */]
  5526. 00003B3C  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5527. 00003B40  4EAD F670                jsr        [A5 - 0x990]
  5528. 00003B44  2008                     move.l     D0, A0
  5529. 00003B46  4FEF 0026                lea.l      A7, [A7 + 0x26]
  5530. 00003B4A  6600 0156                bne        +0x158 /* 00003CA2 */
  5531. 00003B4E  4878 0001                push.l     0x1
  5532. 00003B52  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  5533. 00003B56  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5534. 00003B5A  4EAD E5F8                jsr        [A5 - 0x1A08]
  5535. 00003B5E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5536. 00003B62  6000 013E                bra        +0x140 /* 00003CA2 */
  5537. label00003B66:
  5538. 00003B66  2F0E                     move.l     -[A7], A6
  5539. 00003B68  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5540. 00003B6C  4EAD E418                jsr        [A5 - 0x1BE8]
  5541. 00003B70  4A80                     tst.l      D0
  5542. 00003B72  504F                     addq.w     A7, 8
  5543. 00003B74  6736                     beq        +0x38 /* 00003BAC */
  5544. 00003B76  4AAD AB18                tst.l      [A5 - 0x54E8]
  5545. 00003B7A  6620                     bne        +0x22 /* 00003B9C */
  5546. 00003B7C  4878 0001                push.l     0x1
  5547. 00003B80  2F0B                     move.l     -[A7], A3
  5548. 00003B82  2F0A                     move.l     -[A7], A2
  5549. 00003B84  4EBA 2962                jsr        [PC + 0x2962 /* 000064E8 */]
  5550. 00003B88  4878 0001                push.l     0x1
  5551. 00003B8C  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  5552. 00003B90  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5553. 00003B94  4EAD E5F8                jsr        [A5 - 0x1A08]
  5554. 00003B98  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5555. label00003B9C:
  5556. 00003B9C  2F0C                     move.l     -[A7], A4
  5557. 00003B9E  4EAD DD88                jsr        [A5 - 0x2278]
  5558. 00003BA2  4FEF 004C                lea.l      A7, [A7 + 0x4C]
  5559. 00003BA6  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5560. 00003BAA  4E75                     rts
  5561. label00003BAC:
  5562. 00003BAC  4857                     pea.l      [A7]
  5563. 00003BAE  486F 000C                pea.l      [A7 + 0xC]
  5564. 00003BB2  486F 0028                pea.l      [A7 + 0x28]
  5565. 00003BB6  2F2F 0050                move.l     -[A7], [A7 + 0x50]
  5566. 00003BBA  2F0B                     move.l     -[A7], A3
  5567. 00003BBC  2F0A                     move.l     -[A7], A2
  5568. 00003BBE  4EBA 13F2                jsr        [PC + 0x13F2 /* 00004FB2 */]
  5569. 00003BC2  4A80                     tst.l      D0
  5570. 00003BC4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5571. 00003BC8  677C                     beq        +0x7E /* 00003C46 */
  5572. 00003BCA  162F 0042                move.b     D3, [A7 + 0x42]
  5573. 00003BCE  4883                     ext.w      D3
  5574. 00003BD0  48C3                     ext.l      D3
  5575. 00003BD2  4A83                     tst.l      D3
  5576. 00003BD4  6706                     beq        +0x8 /* 00003BDC */
  5577. 00003BD6  7003                     moveq.l    D0, 0x03
  5578. 00003BD8  B680                     cmp.l      D3, D0
  5579. 00003BDA  6614                     bne        +0x16 /* 00003BF0 */
  5580. label00003BDC:
  5581. 00003BDC  102B 00AE                move.b     D0, [A3 + 0xAE]
  5582. 00003BE0  E300                     asl        D0.b, 1
  5583. 00003BE2  EE00                     asr        D0.b, 7
  5584. 00003BE4  56C0                     sne        D0
  5585. 00003BE6  4400                     neg.b      D0
  5586. 00003BE8  4880                     ext.w      D0
  5587. 00003BEA  48C0                     ext.l      D0
  5588. 00003BEC  2600                     move.l     D3, D0
  5589. 00003BEE  6012                     bra        +0x14 /* 00003C02 */
  5590. label00003BF0:
  5591. 00003BF0  102B 00AE                move.b     D0, [A3 + 0xAE]
  5592. 00003BF4  E500                     asl        D0.b, 2
  5593. 00003BF6  EE00                     asr        D0.b, 7
  5594. 00003BF8  56C0                     sne        D0
  5595. 00003BFA  4400                     neg.b      D0
  5596. 00003BFC  4880                     ext.w      D0
  5597. 00003BFE  48C0                     ext.l      D0
  5598. 00003C00  2600                     move.l     D3, D0
  5599. label00003C02:
  5600. 00003C02  4A83                     tst.l      D3
  5601. 00003C04  6726                     beq        +0x28 /* 00003C2C */
  5602. 00003C06  486F 0004                pea.l      [A7 + 0x4]
  5603. 00003C0A  486F 000C                pea.l      [A7 + 0xC]
  5604. 00003C0E  2F2F 004C                move.l     -[A7], [A7 + 0x4C]
  5605. 00003C12  486F 002C                pea.l      [A7 + 0x2C]
  5606. 00003C16  2F0B                     move.l     -[A7], A3
  5607. 00003C18  2F0A                     move.l     -[A7], A2
  5608. 00003C1A  4EBA 21B8                jsr        [PC + 0x21B8 /* 00005DD4 */]
  5609. 00003C1E  4AAF 001C                tst.l      [A7 + 0x1C]
  5610. 00003C22  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5611. 00003C26  677A                     beq        +0x7C /* 00003CA2 */
  5612. 00003C28  99CC                     sub.l      A4, A4
  5613. 00003C2A  6076                     bra        +0x78 /* 00003CA2 */
  5614. label00003C2C:
  5615. 00003C2C  99CC                     sub.l      A4, A4
  5616. 00003C2E  3F3C FFFF                move.w     -[A7], 0xFFFF
  5617. 00003C32  42A7                     clr.l      -[A7]
  5618. 00003C34  486F 0026                pea.l      [A7 + 0x26]
  5619. 00003C38  2F0B                     move.l     -[A7], A3
  5620. 00003C3A  2F0A                     move.l     -[A7], A2
  5621. 00003C3C  4EBA 22D2                jsr        [PC + 0x22D2 /* 00005F10 */]
  5622. 00003C40  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5623. 00003C44  605C                     bra        +0x5E /* 00003CA2 */
  5624. label00003C46:
  5625. 00003C46  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5626. 00003C4A  4EAD E848                jsr        [A5 - 0x17B8]
  5627. 00003C4E  5300                     subq.b     D0, 1
  5628. 00003C50  584F                     addq.w     A7, 4
  5629. 00003C52  660A                     bne        +0xC /* 00003C5E */
  5630. 00003C54  42A7                     clr.l      -[A7]
  5631. 00003C56  4EBA D9DE                jsr        [PC - 0x2622 /* 00001636 */]
  5632. 00003C5A  584F                     addq.w     A7, 4
  5633. 00003C5C  6010                     bra        +0x12 /* 00003C6E */
  5634. label00003C5E:
  5635. 00003C5E  4878 0001                push.l     0x1
  5636. 00003C62  2F0B                     move.l     -[A7], A3
  5637. 00003C64  2F0A                     move.l     -[A7], A2
  5638. 00003C66  4EBA 2880                jsr        [PC + 0x2880 /* 000064E8 */]
  5639. 00003C6A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5640. label00003C6E:
  5641. 00003C6E  4AAB 009E                tst.l      [A3 + 0x9E]
  5642. 00003C72  672E                     beq        +0x30 /* 00003CA2 */
  5643. 00003C74  42A7                     clr.l      -[A7]
  5644. 00003C76  4EAD DD50                jsr        [A5 - 0x22B0]
  5645. 00003C7A  486B 0018                pea.l      [A3 + 0x18]
  5646. 00003C7E  2F0A                     move.l     -[A7], A2
  5647. 00003C80  4EBA 29F8                jsr        [PC + 0x29F8 /* 0000667A */]
  5648. 00003C84  486D EB48                pea.l      [A5 - 0x14B8]
  5649. 00003C88  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  5650. 00003C8C  2F2F 0056                move.l     -[A7], [A7 + 0x56]
  5651. 00003C90  2F0A                     move.l     -[A7], A2
  5652. 00003C92  2F2B 009E                move.l     -[A7], [A3 + 0x9E]
  5653. 00003C96  4EAD E580                jsr        [A5 - 0x1A80]
  5654. 00003C9A  4EAD DD58                jsr        [A5 - 0x22A8]
  5655. 00003C9E  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  5656. label00003CA2:
  5657. 00003CA2  200C                     move.l     D0, A4
  5658. 00003CA4  6708                     beq        +0xA /* 00003CAE */
  5659. 00003CA6  2F0C                     move.l     -[A7], A4
  5660. 00003CA8  4EAD DD88                jsr        [A5 - 0x2278]
  5661. 00003CAC  584F                     addq.w     A7, 4
  5662. label00003CAE:
  5663. 00003CAE  4FEF 0048                lea.l      A7, [A7 + 0x48]
  5664. 00003CB2  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5665. 00003CB6  4E75                     rts
  5666. 00003CB8  3F3C 0100                move.w     -[A7], 0x100
  5667. 00003CBC  1F2F 000A                move.b     -[A7], [A7 + 0xA]
  5668. 00003CC0  206F 0008                movea.l    A0, [A7 + 0x8]
  5669. 00003CC4  2F28 0048                move.l     -[A7], [A0 + 0x48]
  5670. 00003CC8  4EAD E430                jsr        [A5 - 0x1BD0]
  5671. 00003CCC  504F                     addq.w     A7, 8
  5672. 00003CCE  4E75                     rts
  5673. 00003CD0  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  5674. 00003CD4  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  5675. 00003CD8  246F 0034                movea.l    A2, [A7 + 0x34]
  5676. 00003CDC  162F 0038                move.b     D3, [A7 + 0x38]
  5677. 00003CE0  3A2F 003A                move.w     D5, [A7 + 0x3A]
  5678. 00003CE4  286A 0050                movea.l    A4, [A2 + 0x50]
  5679. 00003CE8  2F0C                     move.l     -[A7], A4
  5680. 00003CEA  4EAD DD80                jsr        [A5 - 0x2280]
  5681. 00003CEE  2648                     movea.l    A3, A0
  5682. 00003CF0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5683. 00003CF4  4EAD E848                jsr        [A5 - 0x17B8]
  5684. 00003CF8  1800                     move.b     D4, D0
  5685. 00003CFA  4A6D B48A                tst.w      [A5 - 0x4B76]
  5686. 00003CFE  504F                     addq.w     A7, 8
  5687. 00003D00  6700 0082                beq        +0x84 /* 00003D84 */
  5688. 00003D04  0C03 001B                cmpi.b     D3, 0x1B
  5689. 00003D08  677A                     beq        +0x7C /* 00003D84 */
  5690. 00003D0A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5691. 00003D0E  4EAD F670                jsr        [A5 - 0x990]
  5692. 00003D12  2008                     move.l     D0, A0
  5693. 00003D14  584F                     addq.w     A7, 4
  5694. 00003D16  676C                     beq        +0x6E /* 00003D84 */
  5695. 00003D18  0C03 0009                cmpi.b     D3, 0x9 /* '\t' */
  5696. 00003D1C  6700 01CC                beq        +0x1CE /* 00003EEA */
  5697. 00003D20  4227                     clr.b      -[A7]
  5698. 00003D22  486F 000A                pea.l      [A7 + 0xA]
  5699. 00003D26  2F0B                     move.l     -[A7], A3
  5700. 00003D28  2F0A                     move.l     -[A7], A2
  5701. 00003D2A  4EBA 0EA4                jsr        [PC + 0xEA4 /* 00004BD0 */]
  5702. 00003D2E  486F 0016                pea.l      [A7 + 0x16]
  5703. 00003D32  4EAD DD50                jsr        [A5 - 0x22B0]
  5704. 00003D36  1F03                     move.b     -[A7], D3
  5705. 00003D38  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5706. 00003D3C  4EAD F650                jsr        [A5 - 0x9B0]
  5707. 00003D40  4EAD DD58                jsr        [A5 - 0x22A8]
  5708. 00003D44  1F3C 0002                move.b     -[A7], 0x2
  5709. 00003D48  2F0A                     move.l     -[A7], A2
  5710. 00003D4A  4EBA 038E                jsr        [PC + 0x38E /* 000040DA */]
  5711. 00003D4E  486F 002E                pea.l      [A7 + 0x2E]
  5712. 00003D52  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5713. 00003D56  4EAD F6C0                jsr        [A5 - 0x940]
  5714. 00003D5A  2F6F 0036 0026           move.l     [A7 + 0x26], [A7 + 0x36]
  5715. 00003D60  2F6F 003A 002A           move.l     [A7 + 0x2A], [A7 + 0x3A]
  5716. 00003D66  4878 0001                push.l     0x1
  5717. 00003D6A  42A7                     clr.l      -[A7]
  5718. 00003D6C  4878 0020                push.l     0x20 /* ' ' */
  5719. 00003D70  486F 0032                pea.l      [A7 + 0x32]
  5720. 00003D74  2F0B                     move.l     -[A7], A3
  5721. 00003D76  2F0A                     move.l     -[A7], A2
  5722. 00003D78  4EBA 17BC                jsr        [PC + 0x17BC /* 00005536 */]
  5723. 00003D7C  4FEF 003E                lea.l      A7, [A7 + 0x3E]
  5724. 00003D80  6000 0168                bra        +0x16A /* 00003EEA */
  5725. label00003D84:
  5726. 00003D84  3F05                     move.w     -[A7], D5
  5727. 00003D86  1F03                     move.b     -[A7], D3
  5728. 00003D88  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5729. 00003D8C  4EAD E430                jsr        [A5 - 0x1BD0]
  5730. 00003D90  4A80                     tst.l      D0
  5731. 00003D92  504F                     addq.w     A7, 8
  5732. 00003D94  6600 0154                bne        +0x156 /* 00003EEA */
  5733. 00003D98  1003                     move.b     D0, D3
  5734. 00003D9A  4880                     ext.w      D0
  5735. 00003D9C  48C0                     ext.l      D0
  5736. 00003D9E  4EAD D916                jsr        [A5 - 0x26EA]
  5737. 00003DA2  004E 0000                ori.w      A6, 0x0
  5738. 00003DA6  0001 0000                ori.b      D1, 0x0
  5739. 00003DAA  001F 000A                ori.b      [A7]+, 0xA /* '\n' */
  5740. 00003DAE  0000 0001                ori.b      D0, 0x1
  5741. 00003DB2  00F4 0000                ori.?      [A4 + D0.w], 0xFFFFFFFFFFFFFFFF
  5742. 00003DB6  0003 0066                ori.b      D3, 0x66 /* 'f' */
  5743. 00003DBA  0000 0004                ori.b      D0, 0x4
  5744. 00003DBE  010C                     btst       A4, D0
  5745. 00003DC0  0000 000B                ori.b      D0, 0xB
  5746. 00003DC4  00C0                     ori.?      D0, 0xFFFFFFFFFFFFFFFF
  5747. 00003DC6  0000 000C                ori.b      D0, 0xC
  5748. 00003DCA  00BA 0000 000D 004E      ori.l      [PC + 0x4E /* 00003E1A, value 0x600000CE */], 0xD /* '\r' */
  5749. 00003DD2  0000 001B                ori.b      D0, 0x1B
  5750. 00003DD6  002E 0000 001C           ori.b      [A6 + 0x1C], 0x0
  5751. 00003DDC  0082 0000 001D           ori.l      D2, 0x1D
  5752. 00003DE2  007C 0000                ori.w      sr, 0
  5753. 00003DE6  001E 0076                ori.b      [A6]+, 0x76 /* 'v' */
  5754. 00003DEA  0000 001F                ori.b      D0, 0x1F
  5755. 00003DEE  0070 0C04 0001           ori.w      [A0 + D0.w + 0x1], 0xC04
  5756. 00003DF4  6600 00F4                bne        +0xF6 /* 00003EEA */
  5757. 00003DF8  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5758. 00003DFC  4EAD DF80                jsr        [A5 - 0x2080]
  5759. 00003E00  6000 00E8                bra        +0xEA /* 00003EEA */
  5760. 00003E04  0C04 0001                cmpi.b     D4, 0x1
  5761. 00003E08  6708                     beq        +0xA /* 00003E12 */
  5762. 00003E0A  0C04 0002                cmpi.b     D4, 0x2
  5763. 00003E0E  6600 00DA                bne        +0xDC /* 00003EEA */
  5764. label00003E12:
  5765. 00003E12  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5766. 00003E16  4EAD DF80                jsr        [A5 - 0x2080]
  5767. 00003E1A  6000 00CE                bra        +0xD0 /* 00003EEA */
  5768. 00003E1E  4AAB 0070                tst.l      [A3 + 0x70]
  5769. 00003E22  671E                     beq        +0x20 /* 00003E42 */
  5770. 00003E24  99CC                     sub.l      A4, A4
  5771. 00003E26  3F2B 0074                move.w     -[A7], [A3 + 0x74]
  5772. 00003E2A  2F2B 006C                move.l     -[A7], [A3 + 0x6C]
  5773. 00003E2E  486B 0048                pea.l      [A3 + 0x48]
  5774. 00003E32  2F0B                     move.l     -[A7], A3
  5775. 00003E34  2F0A                     move.l     -[A7], A2
  5776. 00003E36  4EBA 20D8                jsr        [PC + 0x20D8 /* 00005F10 */]
  5777. 00003E3A  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5778. 00003E3E  6000 00AA                bra        +0xAC /* 00003EEA */
  5779. label00003E42:
  5780. 00003E42  0C04 0001                cmpi.b     D4, 0x1
  5781. 00003E46  660C                     bne        +0xE /* 00003E54 */
  5782. 00003E48  42A7                     clr.l      -[A7]
  5783. 00003E4A  4EBA D7EA                jsr        [PC - 0x2816 /* 00001636 */]
  5784. 00003E4E  584F                     addq.w     A7, 4
  5785. 00003E50  6000 0098                bra        +0x9A /* 00003EEA */
  5786. label00003E54:
  5787. 00003E54  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  5788. 00003E58  A9C8                     syscall    SysBeep
  5789. 00003E5A  6000 008E                bra        +0x90 /* 00003EEA */
  5790. 00003E5E  42A7                     clr.l      -[A7]
  5791. 00003E60  2F0B                     move.l     -[A7], A3
  5792. 00003E62  2F0A                     move.l     -[A7], A2
  5793. 00003E64  4EBA 1C42                jsr        [PC + 0x1C42 /* 00005AA8 */]
  5794. 00003E68  1F03                     move.b     -[A7], D3
  5795. 00003E6A  2F2B 0070                move.l     -[A7], [A3 + 0x70]
  5796. 00003E6E  486B 0048                pea.l      [A3 + 0x48]
  5797. 00003E72  2F2B 008A                move.l     -[A7], [A3 + 0x8A]
  5798. 00003E76  2F0B                     move.l     -[A7], A3
  5799. 00003E78  2F0A                     move.l     -[A7], A2
  5800. 00003E7A  4EBA 1AA0                jsr        [PC + 0x1AA0 /* 0000591C */]
  5801. 00003E7E  4FEF 0022                lea.l      A7, [A7 + 0x22]
  5802. 00003E82  6066                     bra        +0x68 /* 00003EEA */
  5803. 00003E84  3005                     move.w     D0, D5
  5804. 00003E86  0280 0000 0800           andi.l     D0, 0x800
  5805. 00003E8C  56C0                     sne        D0
  5806. 00003E8E  4400                     neg.b      D0
  5807. 00003E90  4880                     ext.w      D0
  5808. 00003E92  48C0                     ext.l      D0
  5809. 00003E94  2F00                     move.l     -[A7], D0
  5810. 00003E96  1F03                     move.b     -[A7], D3
  5811. 00003E98  2F0B                     move.l     -[A7], A3
  5812. 00003E9A  2F0A                     move.l     -[A7], A2
  5813. 00003E9C  4EBA 30D6                jsr        [PC + 0x30D6 /* 00006F74 */]
  5814. 00003EA0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5815. 00003EA4  6044                     bra        +0x46 /* 00003EEA */
  5816. 00003EA6  3005                     move.w     D0, D5
  5817. 00003EA8  0280 0000 0800           andi.l     D0, 0x800
  5818. 00003EAE  56C0                     sne        D0
  5819. 00003EB0  4400                     neg.b      D0
  5820. 00003EB2  4880                     ext.w      D0
  5821. 00003EB4  48C0                     ext.l      D0
  5822. 00003EB6  2F00                     move.l     -[A7], D0
  5823. 00003EB8  4878 0001                push.l     0x1
  5824. 00003EBC  2F0B                     move.l     -[A7], A3
  5825. 00003EBE  2F0A                     move.l     -[A7], A2
  5826. 00003EC0  4EBA 3022                jsr        [PC + 0x3022 /* 00006EE4 */]
  5827. 00003EC4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5828. 00003EC8  6020                     bra        +0x22 /* 00003EEA */
  5829. 00003ECA  3005                     move.w     D0, D5
  5830. 00003ECC  0280 0000 0800           andi.l     D0, 0x800
  5831. 00003ED2  56C0                     sne        D0
  5832. 00003ED4  4400                     neg.b      D0
  5833. 00003ED6  4880                     ext.w      D0
  5834. 00003ED8  48C0                     ext.l      D0
  5835. 00003EDA  2F00                     move.l     -[A7], D0
  5836. 00003EDC  42A7                     clr.l      -[A7]
  5837. 00003EDE  2F0B                     move.l     -[A7], A3
  5838. 00003EE0  2F0A                     move.l     -[A7], A2
  5839. 00003EE2  4EBA 3000                jsr        [PC + 0x3000 /* 00006EE4 */]
  5840. 00003EE6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5841. label00003EEA:
  5842. 00003EEA  200C                     move.l     D0, A4
  5843. 00003EEC  6708                     beq        +0xA /* 00003EF6 */
  5844. 00003EEE  2F0C                     move.l     -[A7], A4
  5845. 00003EF0  4EAD DD88                jsr        [A5 - 0x2278]
  5846. 00003EF4  584F                     addq.w     A7, 4
  5847. label00003EF6:
  5848. 00003EF6  7001                     moveq.l    D0, 0x01
  5849. 00003EF8  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5850. 00003EFC  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5851. 00003F00  4E75                     rts
  5852. 00003F02  2F0A                     move.l     -[A7], A2
  5853. 00003F04  514F                     subq.w     A7, 8
  5854. 00003F06  246F 0010                movea.l    A2, [A7 + 0x10]
  5855. 00003F0A  4A6D B48A                tst.w      [A5 - 0x4B76]
  5856. 00003F0E  6746                     beq        +0x48 /* 00003F56 */
  5857. 00003F10  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5858. 00003F14  4EAD F670                jsr        [A5 - 0x990]
  5859. 00003F18  2008                     move.l     D0, A0
  5860. 00003F1A  584F                     addq.w     A7, 4
  5861. 00003F1C  6738                     beq        +0x3A /* 00003F56 */
  5862. 00003F1E  4227                     clr.b      -[A7]
  5863. 00003F20  486F 0002                pea.l      [A7 + 0x2]
  5864. 00003F24  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5865. 00003F28  4EAD DD80                jsr        [A5 - 0x2280]
  5866. 00003F2C  584F                     addq.w     A7, 4
  5867. 00003F2E  2F08                     move.l     -[A7], A0
  5868. 00003F30  2F0A                     move.l     -[A7], A2
  5869. 00003F32  4EBA 0C9C                jsr        [PC + 0xC9C /* 00004BD0 */]
  5870. 00003F36  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5871. 00003F3A  4EAD DD88                jsr        [A5 - 0x2278]
  5872. 00003F3E  486F 0012                pea.l      [A7 + 0x12]
  5873. 00003F42  4EAD DD50                jsr        [A5 - 0x22B0]
  5874. 00003F46  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5875. 00003F4A  4EAD F648                jsr        [A5 - 0x9B8]
  5876. 00003F4E  4EAD DD58                jsr        [A5 - 0x22A8]
  5877. 00003F52  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  5878. label00003F56:
  5879. 00003F56  504F                     addq.w     A7, 8
  5880. 00003F58  245F                     movea.l    A2, [A7]+
  5881. 00003F5A  4E75                     rts
  5882. 00003F5C  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5883. 00003F60  4FEF FFD8                lea.l      A7, [A7 - 0x28]
  5884. 00003F64  246F 0040                movea.l    A2, [A7 + 0x40]
  5885. 00003F68  7600                     moveq.l    D3, 0x00
  5886. 00003F6A  7A00                     moveq.l    D5, 0x00
  5887. 00003F6C  4AAA 0050                tst.l      [A2 + 0x50]
  5888. 00003F70  6700 0102                beq        +0x104 /* 00004074 */
  5889. 00003F74  206A 0050                movea.l    A0, [A2 + 0x50]
  5890. 00003F78  2650                     movea.l    A3, [A0]
  5891. 00003F7A  554F                     subq.w     A7, 2
  5892. 00003F7C  2F2F 0046                move.l     -[A7], [A7 + 0x46]
  5893. 00003F80  486B 0018                pea.l      [A3 + 0x18]
  5894. 00003F84  A8AD                     syscall    PtInRect
  5895. 00003F86  101F                     move.b     D0, [A7]+
  5896. 00003F88  6700 00EA                beq        +0xEC /* 00004074 */
  5897. 00003F8C  4A6D B48A                tst.w      [A5 - 0x4B76]
  5898. 00003F90  6604                     bne        +0x6 /* 00003F96 */
  5899. 00003F92  7000                     moveq.l    D0, 0x00
  5900. 00003F94  6012                     bra        +0x14 /* 00003FA8 */
  5901. label00003F96:
  5902. 00003F96  42A7                     clr.l      -[A7]
  5903. 00003F98  2F2F 0048                move.l     -[A7], [A7 + 0x48]
  5904. 00003F9C  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5905. 00003FA0  4EAD F668                jsr        [A5 - 0x998]
  5906. 00003FA4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5907. label00003FA8:
  5908. 00003FA8  7200                     moveq.l    D1, 0x00
  5909. 00003FAA  1200                     move.b     D1, D0
  5910. 00003FAC  6710                     beq        +0x12 /* 00003FBE */
  5911. 00003FAE  5381                     subq.l     D1, 1
  5912. 00003FB0  6700 00B6                beq        +0xB8 /* 00004068 */
  5913. 00003FB4  5381                     subq.l     D1, 1
  5914. 00003FB6  6700 00AC                beq        +0xAE /* 00004064 */
  5915. 00003FBA  6000 00B8                bra        +0xBA /* 00004074 */
  5916. label00003FBE:
  5917. 00003FBE  2F2F 0044                move.l     -[A7], [A7 + 0x44]
  5918. 00003FC2  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  5919. 00003FC6  4EAD E3D0                jsr        [A5 - 0x1C30]
  5920. 00003FCA  4A80                     tst.l      D0
  5921. 00003FCC  504F                     addq.w     A7, 8
  5922. 00003FCE  6706                     beq        +0x8 /* 00003FD6 */
  5923. 00003FD0  76FF                     moveq.l    D3, 0xFFFFFFFF
  5924. 00003FD2  6000 00A0                bra        +0xA2 /* 00004074 */
  5925. label00003FD6:
  5926. 00003FD6  42A7                     clr.l      -[A7]
  5927. 00003FD8  42A7                     clr.l      -[A7]
  5928. 00003FDA  486F 000C                pea.l      [A7 + 0xC]
  5929. 00003FDE  2F2F 0050                move.l     -[A7], [A7 + 0x50]
  5930. 00003FE2  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5931. 00003FE6  4EAD DD80                jsr        [A5 - 0x2280]
  5932. 00003FEA  584F                     addq.w     A7, 4
  5933. 00003FEC  2F08                     move.l     -[A7], A0
  5934. 00003FEE  2F0A                     move.l     -[A7], A2
  5935. 00003FF0  4EBA 0FC0                jsr        [PC + 0xFC0 /* 00004FB2 */]
  5936. 00003FF4  4A80                     tst.l      D0
  5937. 00003FF6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5938. 00003FFA  675C                     beq        +0x5E /* 00004058 */
  5939. 00003FFC  182F 0026                move.b     D4, [A7 + 0x26]
  5940. 00004000  4884                     ext.w      D4
  5941. 00004002  48C4                     ext.l      D4
  5942. 00004004  4A84                     tst.l      D4
  5943. 00004006  6706                     beq        +0x8 /* 0000400E */
  5944. 00004008  7003                     moveq.l    D0, 0x03
  5945. 0000400A  B880                     cmp.l      D4, D0
  5946. 0000400C  6626                     bne        +0x28 /* 00004034 */
  5947. label0000400E:
  5948. 0000400E  082B 0006 00AE           btst.b     [A3 + 0xAE], 0x6
  5949. 00004014  660E                     bne        +0x10 /* 00004024 */
  5950. 00004016  302D 135E                move.w     D0, [A5 + 0x135E]
  5951. 0000401A  48C0                     ext.l      D0
  5952. 0000401C  0680 0000 0082           addi.l     D0, 0x82
  5953. 00004022  600C                     bra        +0xE /* 00004030 */
  5954. label00004024:
  5955. 00004024  302D 135E                move.w     D0, [A5 + 0x135E]
  5956. 00004028  48C0                     ext.l      D0
  5957. 0000402A  0680 0000 0080           addi.l     D0, 0x80
  5958. label00004030:
  5959. 00004030  3600                     move.w     D3, D0
  5960. 00004032  6024                     bra        +0x26 /* 00004058 */
  5961. label00004034:
  5962. 00004034  082B 0005 00AE           btst.b     [A3 + 0xAE], 0x5
  5963. 0000403A  660E                     bne        +0x10 /* 0000404A */
  5964. 0000403C  302D 135E                move.w     D0, [A5 + 0x135E]
  5965. 00004040  48C0                     ext.l      D0
  5966. 00004042  0680 0000 0082           addi.l     D0, 0x82
  5967. 00004048  600C                     bra        +0xE /* 00004056 */
  5968. label0000404A:
  5969. 0000404A  302D 135E                move.w     D0, [A5 + 0x135E]
  5970. 0000404E  48C0                     ext.l      D0
  5971. 00004050  0680 0000 0080           addi.l     D0, 0x80
  5972. label00004056:
  5973. 00004056  3600                     move.w     D3, D0
  5974. label00004058:
  5975. 00004058  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5976. 0000405C  4EAD DD88                jsr        [A5 - 0x2278]
  5977. 00004060  584F                     addq.w     A7, 4
  5978. 00004062  6010                     bra        +0x12 /* 00004074 */
  5979. label00004064:
  5980. 00004064  7601                     moveq.l    D3, 0x01
  5981. 00004066  600C                     bra        +0xE /* 00004074 */
  5982. label00004068:
  5983. 00004068  362D 135E                move.w     D3, [A5 + 0x135E]
  5984. 0000406C  48C3                     ext.l      D3
  5985. 0000406E  0683 0000 0081           addi.l     D3, 0x81
  5986. label00004074:
  5987. 00004074  3003                     move.w     D0, D3
  5988. 00004076  48C0                     ext.l      D0
  5989. 00004078  4A80                     tst.l      D0
  5990. 0000407A  6D06                     blt        +0x8 /* 00004082 */
  5991. 0000407C  3F03                     move.w     -[A7], D3
  5992. 0000407E  4EAD DDA0                jsr        [A5 - 0x2260]
  5993. label00004082:
  5994. 00004082  4857                     pea.l      [A7]
  5995. 00004084  A870                     syscall    LocalToGlobal
  5996. 00004086  3F05                     move.w     -[A7], D5
  5997. 00004088  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  5998. 0000408C  4EAD DFE8                jsr        [A5 - 0x2018]
  5999. 00004090  4FEF 002E                lea.l      A7, [A7 + 0x2E]
  6000. 00004094  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6001. 00004098  4E75                     rts
  6002. 0000409A  4E75                     rts
  6003. fn0000409C:
  6004. 0000409C  48E7 0030                movem.l    -[A7], A2,A3
  6005. 000040A0  266F 0010                movea.l    A3, [A7 + 0x10]
  6006. 000040A4  246F 0014                movea.l    A2, [A7 + 0x14]
  6007. 000040A8  206F 000C                movea.l    A0, [A7 + 0xC]
  6008. 000040AC  4AA8 0054                tst.l      [A0 + 0x54]
  6009. 000040B0  6718                     beq        +0x1A /* 000040CA */
  6010. 000040B2  4A92                     tst.l      [A2]
  6011. 000040B4  6714                     beq        +0x16 /* 000040CA */
  6012. 000040B6  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  6013. 000040BA  4EAD DAA2                jsr        [A5 - 0x255E]
  6014. 000040BE  2752 0092                move.l     [A3 + 0x92], [A2]
  6015. 000040C2  42AB 008E                clr.l      [A3 + 0x8E]
  6016. 000040C6  584F                     addq.w     A7, 4
  6017. 000040C8  600A                     bra        +0xC /* 000040D4 */
  6018. label000040CA:
  6019. 000040CA  2752 008E                move.l     [A3 + 0x8E], [A2]
  6020. 000040CE  276A 0004 0092           move.l     [A3 + 0x92], [A2 + 0x4]
  6021. label000040D4:
  6022. 000040D4  4CDF 0C00                movem.l    A2,A3, [A7]+
  6023. 000040D8  4E75                     rts
  6024. fn000040DA:
  6025. 000040DA  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  6026. 000040DE  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  6027. 000040E2  266F 0052                movea.l    A3, [A7 + 0x52]
  6028. 000040E6  1A2F 0056                move.b     D5, [A7 + 0x56]
  6029. 000040EA  7800                     moveq.l    D4, 0x00
  6030. 000040EC  4AAB 0050                tst.l      [A3 + 0x50]
  6031. 000040F0  6700 0308                beq        +0x30A /* 000043FA */
  6032. 000040F4  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  6033. 000040F8  4EAD DD80                jsr        [A5 - 0x2280]
  6034. 000040FC  2448                     movea.l    A2, A0
  6035. 000040FE  2F6A 0010 0008           move.l     [A7 + 0x8], [A2 + 0x10]
  6036. 00004104  2F6A 0014 000C           move.l     [A7 + 0xC], [A2 + 0x14]
  6037. 0000410A  2F0A                     move.l     -[A7], A2
  6038. 0000410C  2F0B                     move.l     -[A7], A3
  6039. 0000410E  4EBA 29E0                jsr        [PC + 0x29E0 /* 00006AF0 */]
  6040. 00004112  0C05 0002                cmpi.b     D5, 0x2
  6041. 00004116  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6042. 0000411A  6734                     beq        +0x36 /* 00004150 */
  6043. 0000411C  554F                     subq.w     A7, 2
  6044. 0000411E  486A 0010                pea.l      [A2 + 0x10]
  6045. 00004122  486F 000A                pea.l      [A7 + 0xA]
  6046. 00004126  A8A6                     syscall    EqualRect
  6047. 00004128  101F                     move.b     D0, [A7]+
  6048. 0000412A  6624                     bne        +0x26 /* 00004150 */
  6049. 0000412C  4878 0001                push.l     0x1
  6050. 00004130  486F 0008                pea.l      [A7 + 0x8]
  6051. 00004134  2F0A                     move.l     -[A7], A2
  6052. 00004136  2F0B                     move.l     -[A7], A3
  6053. 00004138  4EBA 2A50                jsr        [PC + 0x2A50 /* 00006B8A */]
  6054. 0000413C  4878 0001                push.l     0x1
  6055. 00004140  486A 0010                pea.l      [A2 + 0x10]
  6056. 00004144  2F0A                     move.l     -[A7], A2
  6057. 00004146  2F0B                     move.l     -[A7], A3
  6058. 00004148  4EBA 2A40                jsr        [PC + 0x2A40 /* 00006B8A */]
  6059. 0000414C  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6060. label00004150:
  6061. 00004150  4A05                     tst.b      D5
  6062. 00004152  6600 00E0                bne        +0xE2 /* 00004234 */
  6063. 00004156  9DCE                     sub.l      A6, A6
  6064. 00004158  42AF 000C                clr.l      [A7 + 0xC]
  6065. 0000415C  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6066. 00004160  4EAD E848                jsr        [A5 - 0x17B8]
  6067. 00004164  7200                     moveq.l    D1, 0x00
  6068. 00004166  1200                     move.b     D1, D0
  6069. 00004168  584F                     addq.w     A7, 4
  6070. 0000416A  4A81                     tst.l      D1
  6071. 0000416C  670C                     beq        +0xE /* 0000417A */
  6072. 0000416E  5381                     subq.l     D1, 1
  6073. 00004170  6768                     beq        +0x6A /* 000041DA */
  6074. 00004172  5381                     subq.l     D1, 1
  6075. 00004174  676C                     beq        +0x6E /* 000041E2 */
  6076. 00004176  6000 0082                bra        +0x84 /* 000041FA */
  6077. label0000417A:
  6078. 0000417A  4AAB 0054                tst.l      [A3 + 0x54]
  6079. 0000417E  6706                     beq        +0x8 /* 00004186 */
  6080. 00004180  262A 003C                move.l     D3, [A2 + 0x3C]
  6081. 00004184  6074                     bra        +0x76 /* 000041FA */
  6082. label00004186:
  6083. 00004186  486F 000C                pea.l      [A7 + 0xC]
  6084. 0000418A  4EBA DDDE                jsr        [PC - 0x2222 /* 00001F6A */]
  6085. 0000418E  2600                     move.l     D3, D0
  6086. 00004190  4A80                     tst.l      D0
  6087. 00004192  584F                     addq.w     A7, 4
  6088. 00004194  6C64                     bge        +0x66 /* 000041FA */
  6089. 00004196  1F3C 0012                move.b     -[A7], 0x12
  6090. 0000419A  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6091. 0000419E  4EAD E818                jsr        [A5 - 0x17E8]
  6092. 000041A2  2848                     movea.l    A4, A0
  6093. 000041A4  4AAC 0004                tst.l      [A4 + 0x4]
  6094. 000041A8  5C4F                     addq.w     A7, 6
  6095. 000041AA  6D14                     blt        +0x16 /* 000041C0 */
  6096. 000041AC  262C 0004                move.l     D3, [A4 + 0x4]
  6097. 000041B0  2F6C 0008 000C           move.l     [A7 + 0xC], [A4 + 0x8]
  6098. 000041B6  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6099. 000041BA  673E                     beq        +0x40 /* 000041FA */
  6100. 000041BC  2C54                     movea.l    A6, [A4]
  6101. 000041BE  603A                     bra        +0x3C /* 000041FA */
  6102. label000041C0:
  6103. 000041C0  1F3C 0004                move.b     -[A7], 0x4
  6104. 000041C4  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6105. 000041C8  4EAD E818                jsr        [A5 - 0x17E8]
  6106. 000041CC  2848                     movea.l    A4, A0
  6107. 000041CE  2614                     move.l     D3, [A4]
  6108. 000041D0  2F6C 0004 0012           move.l     [A7 + 0x12], [A4 + 0x4]
  6109. 000041D6  5C4F                     addq.w     A7, 6
  6110. 000041D8  6020                     bra        +0x22 /* 000041FA */
  6111. label000041DA:
  6112. 000041DA  4EBA D3DA                jsr        [PC - 0x2C26 /* 000015B6 */]
  6113. 000041DE  2600                     move.l     D3, D0
  6114. 000041E0  6018                     bra        +0x1A /* 000041FA */
  6115. label000041E2:
  6116. 000041E2  4AAB 0054                tst.l      [A3 + 0x54]
  6117. 000041E6  6706                     beq        +0x8 /* 000041EE */
  6118. 000041E8  262A 003C                move.l     D3, [A2 + 0x3C]
  6119. 000041EC  600C                     bra        +0xE /* 000041FA */
  6120. label000041EE:
  6121. 000041EE  486F 000C                pea.l      [A7 + 0xC]
  6122. 000041F2  4EBA DD76                jsr        [PC - 0x228A /* 00001F6A */]
  6123. 000041F6  2600                     move.l     D3, D0
  6124. 000041F8  584F                     addq.w     A7, 4
  6125. label000041FA:
  6126. 000041FA  42A7                     clr.l      -[A7]
  6127. 000041FC  2F0E                     move.l     -[A7], A6
  6128. 000041FE  1F3C 0002                move.b     -[A7], 0x2
  6129. 00004202  42A7                     clr.l      -[A7]
  6130. 00004204  2F03                     move.l     -[A7], D3
  6131. 00004206  2F0A                     move.l     -[A7], A2
  6132. 00004208  2F0B                     move.l     -[A7], A3
  6133. 0000420A  4EBA 0434                jsr        [PC + 0x434 /* 00004640 */]
  6134. 0000420E  3800                     move.w     D4, D0
  6135. 00004210  4AAF 0026                tst.l      [A7 + 0x26]
  6136. 00004214  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6137. 00004218  6700 00F4                beq        +0xF6 /* 0000430E */
  6138. 0000421C  4878 0001                push.l     0x1
  6139. 00004220  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6140. 00004224  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6141. 00004228  4EBA DFC0                jsr        [PC - 0x2040 /* 000021EA */]
  6142. 0000422C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6143. 00004230  6000 00DC                bra        +0xDE /* 0000430E */
  6144. label00004234:
  6145. 00004234  0C05 0001                cmpi.b     D5, 0x1
  6146. 00004238  6600 00D4                bne        +0xD6 /* 0000430E */
  6147. 0000423C  4AAB 0054                tst.l      [A3 + 0x54]
  6148. 00004240  6600 00CC                bne        +0xCE /* 0000430E */
  6149. 00004244  2F2A 00A2                move.l     -[A7], [A2 + 0xA2]
  6150. 00004248  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6151. 0000424C  4EAD E5E0                jsr        [A5 - 0x1A20]
  6152. 00004250  2F0A                     move.l     -[A7], A2
  6153. 00004252  4EBA 0AB8                jsr        [PC + 0xAB8 /* 00004D0C */]
  6154. 00004256  2F2A 008A                move.l     -[A7], [A2 + 0x8A]
  6155. 0000425A  4EBA DD22                jsr        [PC - 0x22DE /* 00001F7E */]
  6156. 0000425E  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  6157. 00004262  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6158. 00004266  4EAD E378                jsr        [A5 - 0x1C88]
  6159. 0000426A  486F 0028                pea.l      [A7 + 0x28]
  6160. 0000426E  486F 001D                pea.l      [A7 + 0x1D]
  6161. 00004272  486F 0022                pea.l      [A7 + 0x22]
  6162. 00004276  2F0A                     move.l     -[A7], A2
  6163. 00004278  2F0B                     move.l     -[A7], A3
  6164. 0000427A  4EBA 29DC                jsr        [PC + 0x29DC /* 00006C58 */]
  6165. 0000427E  486F 003C                pea.l      [A7 + 0x3C]
  6166. 00004282  1F2F 0031                move.b     -[A7], [A7 + 0x31]
  6167. 00004286  3F2F 0034                move.w     -[A7], [A7 + 0x34]
  6168. 0000428A  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  6169. 0000428E  1F3C 0001                move.b     -[A7], 0x1
  6170. 00004292  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6171. 00004296  4EAD E818                jsr        [A5 - 0x17E8]
  6172. 0000429A  5C4F                     addq.w     A7, 6
  6173. 0000429C  2F10                     move.l     -[A7], [A0]
  6174. 0000429E  1F3C 0005                move.b     -[A7], 0x5
  6175. 000042A2  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6176. 000042A6  4EAD E818                jsr        [A5 - 0x17E8]
  6177. 000042AA  5C4F                     addq.w     A7, 6
  6178. 000042AC  2F08                     move.l     -[A7], A0
  6179. 000042AE  3F2A 00B2                move.w     -[A7], [A2 + 0xB2]
  6180. 000042B2  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6181. 000042B6  4EAD DB92                jsr        [A5 - 0x246E]
  6182. 000042BA  3600                     move.w     D3, D0
  6183. 000042BC  486F 0056                pea.l      [A7 + 0x56]
  6184. 000042C0  2F0A                     move.l     -[A7], A2
  6185. 000042C2  2F0B                     move.l     -[A7], A3
  6186. 000042C4  4EBA FDD6                jsr        [PC - 0x22A /* 0000409C */]
  6187. 000042C8  256F 006A 008A           move.l     [A2 + 0x8A], [A7 + 0x6A]
  6188. 000042CE  356F 007C 00B4           move.w     [A2 + 0xB4], [A7 + 0x7C]
  6189. 000042D4  356F 007A 00B6           move.w     [A2 + 0xB6], [A7 + 0x7A]
  6190. 000042DA  102F 0075                move.b     D0, [A7 + 0x75]
  6191. 000042DE  EF08                     lsl        D0.b, 7
  6192. 000042E0  0200 0080                andi.b     D0, 0x80
  6193. 000042E4  022A 007F 00AE           andi.b     [A2 + 0xAE], 0x7F
  6194. 000042EA  812A 00AE                or.b       [A2 + 0xAE], D0
  6195. 000042EE  102F 0079                move.b     D0, [A7 + 0x79]
  6196. 000042F2  E908                     lsl        D0.b, 4
  6197. 000042F4  0200 0010                andi.b     D0, 0x10
  6198. 000042F8  022A 00EF 00AE           andi.b     [A2 + 0xAE], 0xEF
  6199. 000042FE  812A 00AE                or.b       [A2 + 0xAE], D0
  6200. 00004302  2F0A                     move.l     -[A7], A2
  6201. 00004304  2F0B                     move.l     -[A7], A3
  6202. 00004306  4EBA 2CBC                jsr        [PC + 0x2CBC /* 00006FC4 */]
  6203. 0000430A  4FEF 005A                lea.l      A7, [A7 + 0x5A]
  6204. label0000430E:
  6205. 0000430E  256A 0010 0026           move.l     [A2 + 0x26], [A2 + 0x10]
  6206. 00004314  256A 0014 002A           move.l     [A2 + 0x2A], [A2 + 0x14]
  6207. 0000431A  4AAB 0054                tst.l      [A3 + 0x54]
  6208. 0000431E  6708                     beq        +0xA /* 00004328 */
  6209. 00004320  2F0A                     move.l     -[A7], A2
  6210. 00004322  4EBA 304C                jsr        [PC + 0x304C /* 00007370 */]
  6211. 00004326  584F                     addq.w     A7, 4
  6212. label00004328:
  6213. 00004328  4A44                     tst.w      D4
  6214. 0000432A  670C                     beq        +0xE /* 00004338 */
  6215. 0000432C  3F04                     move.w     -[A7], D4
  6216. 0000432E  3F3C 0002                move.w     -[A7], 0x2
  6217. 00004332  4EAD DE98                jsr        [A5 - 0x2168]
  6218. 00004336  584F                     addq.w     A7, 4
  6219. label00004338:
  6220. 00004338  4AAA 0096                tst.l      [A2 + 0x96]
  6221. 0000433C  6774                     beq        +0x76 /* 000043B2 */
  6222. 0000433E  4AAA 009A                tst.l      [A2 + 0x9A]
  6223. 00004342  676E                     beq        +0x70 /* 000043B2 */
  6224. 00004344  2F0A                     move.l     -[A7], A2
  6225. 00004346  4EBA 20FE                jsr        [PC + 0x20FE /* 00006446 */]
  6226. 0000434A  2800                     move.l     D4, D0
  6227. 0000434C  2F0A                     move.l     -[A7], A2
  6228. 0000434E  4EBA 2114                jsr        [PC + 0x2114 /* 00006464 */]
  6229. 00004352  2A00                     move.l     D5, D0
  6230. 00004354  4878 0001                push.l     0x1
  6231. 00004358  2F0A                     move.l     -[A7], A2
  6232. 0000435A  2F0B                     move.l     -[A7], A3
  6233. 0000435C  4EBA 0144                jsr        [PC + 0x144 /* 000044A2 */]
  6234. 00004360  2F0A                     move.l     -[A7], A2
  6235. 00004362  2F0B                     move.l     -[A7], A3
  6236. 00004364  4EBA 069A                jsr        [PC + 0x69A /* 00004A00 */]
  6237. 00004368  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  6238. 0000436C  4EBA D89C                jsr        [PC - 0x2764 /* 00001C0A */]
  6239. 00004370  2204                     move.l     D1, D4
  6240. 00004372  9280                     sub.l      D1, D0
  6241. 00004374  2601                     move.l     D3, D1
  6242. 00004376  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  6243. 0000437A  4EBA D88E                jsr        [PC - 0x2772 /* 00001C0A */]
  6244. 0000437E  2205                     move.l     D1, D5
  6245. 00004380  9280                     sub.l      D1, D0
  6246. 00004382  2801                     move.l     D4, D1
  6247. 00004384  4A83                     tst.l      D3
  6248. 00004386  4FEF 0024                lea.l      A7, [A7 + 0x24]
  6249. 0000438A  6604                     bne        +0x6 /* 00004390 */
  6250. 0000438C  4A84                     tst.l      D4
  6251. 0000438E  6736                     beq        +0x38 /* 000043C6 */
  6252. label00004390:
  6253. 00004390  4878 0001                push.l     0x1
  6254. 00004394  486A 0010                pea.l      [A2 + 0x10]
  6255. 00004398  2F0A                     move.l     -[A7], A2
  6256. 0000439A  2F0B                     move.l     -[A7], A3
  6257. 0000439C  4EBA 27EC                jsr        [PC + 0x27EC /* 00006B8A */]
  6258. 000043A0  3F04                     move.w     -[A7], D4
  6259. 000043A2  3F03                     move.w     -[A7], D3
  6260. 000043A4  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6261. 000043A8  4EAD DCF0                jsr        [A5 - 0x2310]
  6262. 000043AC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6263. 000043B0  6014                     bra        +0x16 /* 000043C6 */
  6264. label000043B2:
  6265. 000043B2  1F3C 0002                move.b     -[A7], 0x2
  6266. 000043B6  486A 0018                pea.l      [A2 + 0x18]
  6267. 000043BA  2F0A                     move.l     -[A7], A2
  6268. 000043BC  2F0B                     move.l     -[A7], A3
  6269. 000043BE  4EBA 0810                jsr        [PC + 0x810 /* 00004BD0 */]
  6270. 000043C2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6271. label000043C6:
  6272. 000043C6  2F0A                     move.l     -[A7], A2
  6273. 000043C8  2F0B                     move.l     -[A7], A3
  6274. 000043CA  4EBA 2E84                jsr        [PC + 0x2E84 /* 00007250 */]
  6275. 000043CE  4878 0001                push.l     0x1
  6276. 000043D2  3F2A 0018                move.w     -[A7], [A2 + 0x18]
  6277. 000043D6  3F2A 001A                move.w     -[A7], [A2 + 0x1A]
  6278. 000043DA  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  6279. 000043DE  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6280. 000043E2  4EAD E3C0                jsr        [A5 - 0x1C40]
  6281. 000043E6  2F0A                     move.l     -[A7], A2
  6282. 000043E8  2F0B                     move.l     -[A7], A3
  6283. 000043EA  4EBA 18E8                jsr        [PC + 0x18E8 /* 00005CD4 */]
  6284. 000043EE  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  6285. 000043F2  4EAD DD88                jsr        [A5 - 0x2278]
  6286. 000043F6  4FEF 0024                lea.l      A7, [A7 + 0x24]
  6287. label000043FA:
  6288. 000043FA  4FEF 0032                lea.l      A7, [A7 + 0x32]
  6289. 000043FE  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  6290. 00004402  4E75                     rts
  6291. 00004404  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  6292. 00004408  246F 0014                movea.l    A2, [A7 + 0x14]
  6293. 0000440C  266F 0018                movea.l    A3, [A7 + 0x18]
  6294. 00004410  4AAA 0050                tst.l      [A2 + 0x50]
  6295. 00004414  6706                     beq        +0x8 /* 0000441C */
  6296. 00004416  4AAA 0054                tst.l      [A2 + 0x54]
  6297. 0000441A  6706                     beq        +0x8 /* 00004422 */
  6298. label0000441C:
  6299. 0000441C  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  6300. 00004420  4E75                     rts
  6301. label00004422:
  6302. 00004422  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  6303. 00004426  4EAD DD80                jsr        [A5 - 0x2280]
  6304. 0000442A  2848                     movea.l    A4, A0
  6305. 0000442C  2F2C 00A2                move.l     -[A7], [A4 + 0xA2]
  6306. 00004430  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6307. 00004434  4EAD E5D8                jsr        [A5 - 0x1A28]
  6308. 00004438  3600                     move.w     D3, D0
  6309. 0000443A  377C 0040 0002           move.w     [A3 + 0x2], 0x40 /* '@' */
  6310. 00004440  3003                     move.w     D0, D3
  6311. 00004442  48C0                     ext.l      D0
  6312. 00004444  7240                     moveq.l    D1, 0x40
  6313. 00004446  D081                     add.l      D0, D1
  6314. 00004448  3680                     move.w     [A3], D0
  6315. 0000444A  377C 7FFF 0004           move.w     [A3 + 0x4], 0x7FFF
  6316. 00004450  377C 7FFF 0006           move.w     [A3 + 0x6], 0x7FFF
  6317. 00004456  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  6318. 0000445A  4EAD DD88                jsr        [A5 - 0x2278]
  6319. 0000445E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6320. 00004462  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  6321. 00004466  4E75                     rts
  6322. fn00004468:
  6323. 00004468  514F                     subq.w     A7, 8
  6324. 0000446A  4857                     pea.l      [A7]
  6325. 0000446C  42A7                     clr.l      -[A7]
  6326. 0000446E  2F3C 000A 000A           move.l     -[A7], 0xA000A /* '\n\0\n' */
  6327. 00004474  A8A7                     syscall    SetRect
  6328. 00004476  4857                     pea.l      [A7]
  6329. 00004478  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6330. 0000447C  4EBA D448                jsr        [PC - 0x2BB8 /* 000018C6 */]
  6331. 00004480  226F 0018                movea.l    A1, [A7 + 0x18]
  6332. 00004484  2348 0096                move.l     [A1 + 0x96], A0
  6333. 00004488  486F 0008                pea.l      [A7 + 0x8]
  6334. 0000448C  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  6335. 00004490  4EBA D434                jsr        [PC - 0x2BCC /* 000018C6 */]
  6336. 00004494  226F 0020                movea.l    A1, [A7 + 0x20]
  6337. 00004498  2348 009A                move.l     [A1 + 0x9A], A0
  6338. 0000449C  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6339. 000044A0  4E75                     rts
  6340. fn000044A2:
  6341. 000044A2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6342. 000044A6  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  6343. 000044AA  286F 0036                movea.l    A4, [A7 + 0x36]
  6344. 000044AE  246F 003A                movea.l    A2, [A7 + 0x3A]
  6345. 000044B2  264A                     movea.l    A3, A2
  6346. 000044B4  508B                     addq.l     A3, 8
  6347. 000044B6  508B                     addq.l     A3, 8
  6348. 000044B8  206C 0048                movea.l    A0, [A4 + 0x48]
  6349. 000044BC  7600                     moveq.l    D3, 0x00
  6350. 000044BE  1628 006F                move.b     D3, [A0 + 0x6F]
  6351. 000044C2  7C0F                     moveq.l    D6, 0x0F
  6352. 000044C4  760F                     moveq.l    D3, 0x0F
  6353. 000044C6  4AAA 0096                tst.l      [A2 + 0x96]
  6354. 000044CA  6706                     beq        +0x8 /* 000044D2 */
  6355. 000044CC  4AAA 009A                tst.l      [A2 + 0x9A]
  6356. 000044D0  660A                     bne        +0xC /* 000044DC */
  6357. label000044D2:
  6358. 000044D2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6359. 000044D6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6360. 000044DA  4E75                     rts
  6361. label000044DC:
  6362. 000044DC  1F3C 0014                move.b     -[A7], 0x14
  6363. 000044E0  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  6364. 000044E4  4EAD E818                jsr        [A5 - 0x17E8]
  6365. 000044E8  4A90                     tst.l      [A0]
  6366. 000044EA  5C4F                     addq.w     A7, 6
  6367. 000044EC  6604                     bne        +0x6 /* 000044F2 */
  6368. 000044EE  7600                     moveq.l    D3, 0x00
  6369. 000044F0  3C03                     move.w     D6, D3
  6370. label000044F2:
  6371. 000044F2  3006                     move.w     D0, D6
  6372. 000044F4  48C0                     ext.l      D0
  6373. 000044F6  322B 0002                move.w     D1, [A3 + 0x2]
  6374. 000044FA  48C1                     ext.l      D1
  6375. 000044FC  3E2B 0006                move.w     D7, [A3 + 0x6]
  6376. 00004500  48C7                     ext.l      D7
  6377. 00004502  9E81                     sub.l      D7, D1
  6378. 00004504  5487                     addq.l     D7, 2
  6379. 00004506  9E80                     sub.l      D7, D0
  6380. 00004508  3003                     move.w     D0, D3
  6381. 0000450A  48C0                     ext.l      D0
  6382. 0000450C  3213                     move.w     D1, [A3]
  6383. 0000450E  48C1                     ext.l      D1
  6384. 00004510  382B 0004                move.w     D4, [A3 + 0x4]
  6385. 00004514  48C4                     ext.l      D4
  6386. 00004516  9881                     sub.l      D4, D1
  6387. 00004518  5484                     addq.l     D4, 2
  6388. 0000451A  9880                     sub.l      D4, D0
  6389. 0000451C  302B 0004                move.w     D0, [A3 + 0x4]
  6390. 00004520  48C0                     ext.l      D0
  6391. 00004522  72F1                     moveq.l    D1, 0xFFFFFFF1
  6392. 00004524  D081                     add.l      D0, D1
  6393. 00004526  3F40 0002                move.w     [A7 + 0x2], D0
  6394. 0000452A  302B 0006                move.w     D0, [A3 + 0x6]
  6395. 0000452E  48C0                     ext.l      D0
  6396. 00004530  D081                     add.l      D0, D1
  6397. 00004532  3F40 0004                move.w     [A7 + 0x4], D0
  6398. 00004536  3A13                     move.w     D5, [A3]
  6399. 00004538  48C5                     ext.l      D5
  6400. 0000453A  5385                     subq.l     D5, 1
  6401. 0000453C  4AAA 008E                tst.l      [A2 + 0x8E]
  6402. 00004540  670E                     beq        +0x10 /* 00004550 */
  6403. 00004542  206A 008E                movea.l    A0, [A2 + 0x8E]
  6404. 00004546  2050                     movea.l    A0, [A0]
  6405. 00004548  3EA8 0006                move.w     [A7], [A0 + 0x6]
  6406. 0000454C  DA57                     add.w      D5, [A7]
  6407. 0000454E  9857                     sub.w      D4, [A7]
  6408. label00004550:
  6409. 00004550  2C6A 0096                movea.l    A6, [A2 + 0x96]
  6410. 00004554  2C56                     movea.l    A6, [A6]
  6411. 00004556  508E                     addq.l     A6, 8
  6412. 00004558  286A 009A                movea.l    A4, [A2 + 0x9A]
  6413. 0000455C  2854                     movea.l    A4, [A4]
  6414. 0000455E  508C                     addq.l     A4, 8
  6415. 00004560  3016                     move.w     D0, [A6]
  6416. 00004562  B06F 0002                cmp.w      D0, [A7 + 0x2]
  6417. 00004566  663A                     bne        +0x3C /* 000045A2 */
  6418. 00004568  302C 0002                move.w     D0, [A4 + 0x2]
  6419. 0000456C  B06F 0004                cmp.w      D0, [A7 + 0x4]
  6420. 00004570  6630                     bne        +0x32 /* 000045A2 */
  6421. 00004572  BA54                     cmp.w      D5, [A4]
  6422. 00004574  662C                     bne        +0x2E /* 000045A2 */
  6423. 00004576  302E 0002                move.w     D0, [A6 + 0x2]
  6424. 0000457A  48C0                     ext.l      D0
  6425. 0000457C  322E 0006                move.w     D1, [A6 + 0x6]
  6426. 00004580  48C1                     ext.l      D1
  6427. 00004582  9280                     sub.l      D1, D0
  6428. 00004584  3007                     move.w     D0, D7
  6429. 00004586  48C0                     ext.l      D0
  6430. 00004588  B081                     cmp.l      D0, D1
  6431. 0000458A  6616                     bne        +0x18 /* 000045A2 */
  6432. 0000458C  3014                     move.w     D0, [A4]
  6433. 0000458E  48C0                     ext.l      D0
  6434. 00004590  322C 0004                move.w     D1, [A4 + 0x4]
  6435. 00004594  48C1                     ext.l      D1
  6436. 00004596  9280                     sub.l      D1, D0
  6437. 00004598  3004                     move.w     D0, D4
  6438. 0000459A  48C0                     ext.l      D0
  6439. 0000459C  B081                     cmp.l      D0, D1
  6440. 0000459E  6700 0096                beq        +0x98 /* 00004636 */
  6441. label000045A2:
  6442. 000045A2  206A 0096                movea.l    A0, [A2 + 0x96]
  6443. 000045A6  2050                     movea.l    A0, [A0]
  6444. 000045A8  2F68 0008 0006           move.l     [A7 + 0x6], [A0 + 0x8]
  6445. 000045AE  2F68 000C 000A           move.l     [A7 + 0xA], [A0 + 0xC]
  6446. 000045B4  4AAF 003E                tst.l      [A7 + 0x3E]
  6447. 000045B8  6704                     beq        +0x6 /* 000045BE */
  6448. 000045BA  DD6F 000C                add.w      [A7 + 0xC], D6
  6449. label000045BE:
  6450. 000045BE  486F 0006                pea.l      [A7 + 0x6]
  6451. 000045C2  A928                     syscall    InvalRect
  6452. 000045C4  206A 009A                movea.l    A0, [A2 + 0x9A]
  6453. 000045C8  2050                     movea.l    A0, [A0]
  6454. 000045CA  2F68 0008 0006           move.l     [A7 + 0x6], [A0 + 0x8]
  6455. 000045D0  2F68 000C 000A           move.l     [A7 + 0xA], [A0 + 0xC]
  6456. 000045D6  D76F 000A                add.w      [A7 + 0xA], D3
  6457. 000045DA  486F 0006                pea.l      [A7 + 0x6]
  6458. 000045DE  A928                     syscall    InvalRect
  6459. 000045E0  3F3C 0010                move.w     -[A7], 0x10
  6460. 000045E4  3F07                     move.w     -[A7], D7
  6461. 000045E6  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  6462. 000045EA  302B 0002                move.w     D0, [A3 + 0x2]
  6463. 000045EE  48C0                     ext.l      D0
  6464. 000045F0  5380                     subq.l     D0, 1
  6465. 000045F2  3F00                     move.w     -[A7], D0
  6466. 000045F4  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  6467. 000045F8  4EBA D3C8                jsr        [PC - 0x2C38 /* 000019C2 */]
  6468. 000045FC  3F04                     move.w     -[A7], D4
  6469. 000045FE  3F3C 0010                move.w     -[A7], 0x10
  6470. 00004602  3F05                     move.w     -[A7], D5
  6471. 00004604  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6472. 00004608  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  6473. 0000460C  4EBA D3B4                jsr        [PC - 0x2C4C /* 000019C2 */]
  6474. 00004610  206A 009A                movea.l    A0, [A2 + 0x9A]
  6475. 00004614  2050                     movea.l    A0, [A0]
  6476. 00004616  2F68 0008 001E           move.l     [A7 + 0x1E], [A0 + 0x8]
  6477. 0000461C  2F68 000C 0022           move.l     [A7 + 0x22], [A0 + 0xC]
  6478. 00004622  3F6F 0022 001E           move.w     [A7 + 0x1E], [A7 + 0x22]
  6479. 00004628  D76F 0022                add.w      [A7 + 0x22], D3
  6480. 0000462C  486F 001E                pea.l      [A7 + 0x1E]
  6481. 00004630  A928                     syscall    InvalRect
  6482. 00004632  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6483. label00004636:
  6484. 00004636  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6485. 0000463A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6486. 0000463E  4E75                     rts
  6487. fn00004640:
  6488. 00004640  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6489. 00004644  4FEF FFDA                lea.l      A7, [A7 - 0x26]
  6490. 00004648  246F 004E                movea.l    A2, [A7 + 0x4E]
  6491. 0000464C  266F 0052                movea.l    A3, [A7 + 0x52]
  6492. 00004650  2A2F 0056                move.l     D5, [A7 + 0x56]
  6493. 00004654  182F 005E                move.b     D4, [A7 + 0x5E]
  6494. 00004658  2C6F 0060                movea.l    A6, [A7 + 0x60]
  6495. 0000465C  1F3C 0001                move.b     -[A7], 0x1
  6496. 00004660  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6497. 00004664  4EAD E818                jsr        [A5 - 0x17E8]
  6498. 00004668  2848                     movea.l    A4, A0
  6499. 0000466A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6500. 0000466E  4EAD E848                jsr        [A5 - 0x17B8]
  6501. 00004672  1600                     move.b     D3, D0
  6502. 00004674  0C03 0001                cmpi.b     D3, 0x1
  6503. 00004678  57C0                     seq        D0
  6504. 0000467A  4400                     neg.b      D0
  6505. 0000467C  4880                     ext.w      D0
  6506. 0000467E  48C0                     ext.l      D0
  6507. 00004680  2C00                     move.l     D6, D0
  6508. 00004682  4A04                     tst.b      D4
  6509. 00004684  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6510. 00004688  662A                     bne        +0x2C /* 000046B4 */
  6511. 0000468A  BA94                     cmp.l      D5, [A4]
  6512. 0000468C  6626                     bne        +0x28 /* 000046B4 */
  6513. 0000468E  2F0E                     move.l     -[A7], A6
  6514. 00004690  1F03                     move.b     -[A7], D3
  6515. 00004692  2F0A                     move.l     -[A7], A2
  6516. 00004694  4EBA 0320                jsr        [PC + 0x320 /* 000049B6 */]
  6517. 00004698  2F14                     move.l     -[A7], [A4]
  6518. 0000469A  1F3C 0001                move.b     -[A7], 0x1
  6519. 0000469E  42A7                     clr.l      -[A7]
  6520. 000046A0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6521. 000046A4  4EBA C7F6                jsr        [PC - 0x380A /* 00000E9C */]
  6522. 000046A8  7000                     moveq.l    D0, 0x00
  6523. 000046AA  4FEF 003E                lea.l      A7, [A7 + 0x3E]
  6524. 000046AE  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6525. 000046B2  4E75                     rts
  6526. label000046B4:
  6527. 000046B4  4878 0001                push.l     0x1
  6528. 000046B8  2F0B                     move.l     -[A7], A3
  6529. 000046BA  2F0A                     move.l     -[A7], A2
  6530. 000046BC  4EBA 13EA                jsr        [PC + 0x13EA /* 00005AA8 */]
  6531. 000046C0  4878 0001                push.l     0x1
  6532. 000046C4  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6533. 000046C8  4EAD E480                jsr        [A5 - 0x1B80]
  6534. 000046CC  4AAA 0054                tst.l      [A2 + 0x54]
  6535. 000046D0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6536. 000046D4  6624                     bne        +0x26 /* 000046FA */
  6537. 000046D6  4A6D B48A                tst.w      [A5 - 0x4B76]
  6538. 000046DA  671E                     beq        +0x20 /* 000046FA */
  6539. 000046DC  0C04 0002                cmpi.b     D4, 0x2
  6540. 000046E0  6718                     beq        +0x1A /* 000046FA */
  6541. 000046E2  A896                     syscall    HidePen
  6542. 000046E4  4878 0001                push.l     0x1
  6543. 000046E8  4878 0001                push.l     0x1
  6544. 000046EC  2F0B                     move.l     -[A7], A3
  6545. 000046EE  2F0A                     move.l     -[A7], A2
  6546. 000046F0  4EBA 1E86                jsr        [PC + 0x1E86 /* 00006578 */]
  6547. 000046F4  A897                     syscall    ShowPen
  6548. 000046F6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6549. label000046FA:
  6550. 000046FA  2E14                     move.l     D7, [A4]
  6551. 000046FC  4AAA 0054                tst.l      [A2 + 0x54]
  6552. 00004700  6602                     bne        +0x4 /* 00004704 */
  6553. 00004702  2885                     move.l     [A4], D5
  6554. label00004704:
  6555. 00004704  2F0E                     move.l     -[A7], A6
  6556. 00004706  1F03                     move.b     -[A7], D3
  6557. 00004708  2F0A                     move.l     -[A7], A2
  6558. 0000470A  4EBA 02AA                jsr        [PC + 0x2AA /* 000049B6 */]
  6559. 0000470E  2F0B                     move.l     -[A7], A3
  6560. 00004710  4EBA 05FA                jsr        [PC + 0x5FA /* 00004D0C */]
  6561. 00004714  2F2B 008A                move.l     -[A7], [A3 + 0x8A]
  6562. 00004718  4EBA D864                jsr        [PC - 0x279C /* 00001F7E */]
  6563. 0000471C  2F2A 0054                move.l     -[A7], [A2 + 0x54]
  6564. 00004720  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6565. 00004724  4EAD E380                jsr        [A5 - 0x1C80]
  6566. 00004728  486F 001E                pea.l      [A7 + 0x1E]
  6567. 0000472C  486F 001F                pea.l      [A7 + 0x1F]
  6568. 00004730  486F 0024                pea.l      [A7 + 0x24]
  6569. 00004734  2F0B                     move.l     -[A7], A3
  6570. 00004736  2F0A                     move.l     -[A7], A2
  6571. 00004738  4EBA 251E                jsr        [PC + 0x251E /* 00006C58 */]
  6572. 0000473C  486F 0032                pea.l      [A7 + 0x32]
  6573. 00004740  1F2F 0033                move.b     -[A7], [A7 + 0x33]
  6574. 00004744  3F2F 0036                move.w     -[A7], [A7 + 0x36]
  6575. 00004748  2F2A 0054                move.l     -[A7], [A2 + 0x54]
  6576. 0000474C  2F05                     move.l     -[A7], D5
  6577. 0000474E  1F3C 0005                move.b     -[A7], 0x5
  6578. 00004752  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6579. 00004756  4EAD E818                jsr        [A5 - 0x17E8]
  6580. 0000475A  5C4F                     addq.w     A7, 6
  6581. 0000475C  2F08                     move.l     -[A7], A0
  6582. 0000475E  3F2B 00B2                move.w     -[A7], [A3 + 0xB2]
  6583. 00004762  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6584. 00004766  4EAD DB92                jsr        [A5 - 0x246E]
  6585. 0000476A  3800                     move.w     D4, D0
  6586. 0000476C  486F 004C                pea.l      [A7 + 0x4C]
  6587. 00004770  2F0B                     move.l     -[A7], A3
  6588. 00004772  2F0A                     move.l     -[A7], A2
  6589. 00004774  4EBA F926                jsr        [PC - 0x6DA /* 0000409C */]
  6590. 00004778  276F 0060 008A           move.l     [A3 + 0x8A], [A7 + 0x60]
  6591. 0000477E  376F 0072 00B4           move.w     [A3 + 0xB4], [A7 + 0x72]
  6592. 00004784  376F 0070 00B6           move.w     [A3 + 0xB6], [A7 + 0x70]
  6593. 0000478A  102F 006B                move.b     D0, [A7 + 0x6B]
  6594. 0000478E  EF08                     lsl        D0.b, 7
  6595. 00004790  0200 0080                andi.b     D0, 0x80
  6596. 00004794  022B 007F 00AE           andi.b     [A3 + 0xAE], 0x7F
  6597. 0000479A  812B 00AE                or.b       [A3 + 0xAE], D0
  6598. 0000479E  102F 006F                move.b     D0, [A7 + 0x6F]
  6599. 000047A2  E908                     lsl        D0.b, 4
  6600. 000047A4  0200 0010                andi.b     D0, 0x10
  6601. 000047A8  022B 00EF 00AE           andi.b     [A3 + 0xAE], 0xEF
  6602. 000047AE  812B 00AE                or.b       [A3 + 0xAE], D0
  6603. 000047B2  4A44                     tst.w      D4
  6604. 000047B4  4FEF 0054                lea.l      A7, [A7 + 0x54]
  6605. 000047B8  670E                     beq        +0x10 /* 000047C8 */
  6606. 000047BA  2887                     move.l     [A4], D7
  6607. 000047BC  3004                     move.w     D0, D4
  6608. 000047BE  4FEF 0026                lea.l      A7, [A7 + 0x26]
  6609. 000047C2  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6610. 000047C6  4E75                     rts
  6611. label000047C8:
  6612. 000047C8  2F0B                     move.l     -[A7], A3
  6613. 000047CA  2F0A                     move.l     -[A7], A2
  6614. 000047CC  4EBA 27F6                jsr        [PC + 0x27F6 /* 00006FC4 */]
  6615. 000047D0  4AAA 0054                tst.l      [A2 + 0x54]
  6616. 000047D4  504F                     addq.w     A7, 8
  6617. 000047D6  6614                     bne        +0x16 /* 000047EC */
  6618. 000047D8  486F 0010                pea.l      [A7 + 0x10]
  6619. 000047DC  1F3C 0002                move.b     -[A7], 0x2
  6620. 000047E0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6621. 000047E4  4EAD E820                jsr        [A5 - 0x17E0]
  6622. 000047E8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6623. label000047EC:
  6624. 000047EC  42AB 0050                clr.l      [A3 + 0x50]
  6625. 000047F0  42AB 0070                clr.l      [A3 + 0x70]
  6626. 000047F4  4A6D B48A                tst.w      [A5 - 0x4B76]
  6627. 000047F8  673A                     beq        +0x3C /* 00004834 */
  6628. 000047FA  4AAA 0054                tst.l      [A2 + 0x54]
  6629. 000047FE  6634                     bne        +0x36 /* 00004834 */
  6630. 00004800  2F0B                     move.l     -[A7], A3
  6631. 00004802  2F0A                     move.l     -[A7], A2
  6632. 00004804  4EBA 1DFC                jsr        [PC + 0x1DFC /* 00006602 */]
  6633. 00004808  4AAB 0096                tst.l      [A3 + 0x96]
  6634. 0000480C  504F                     addq.w     A7, 8
  6635. 0000480E  6724                     beq        +0x26 /* 00004834 */
  6636. 00004810  4AAB 009A                tst.l      [A3 + 0x9A]
  6637. 00004814  671E                     beq        +0x20 /* 00004834 */
  6638. 00004816  2F0B                     move.l     -[A7], A3
  6639. 00004818  4EBA 1C4A                jsr        [PC + 0x1C4A /* 00006464 */]
  6640. 0000481C  584F                     addq.w     A7, 4
  6641. 0000481E  3F00                     move.w     -[A7], D0
  6642. 00004820  2F0B                     move.l     -[A7], A3
  6643. 00004822  4EBA 1C22                jsr        [PC + 0x1C22 /* 00006446 */]
  6644. 00004826  584F                     addq.w     A7, 4
  6645. 00004828  3F00                     move.w     -[A7], D0
  6646. 0000482A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6647. 0000482E  4EAD DCF0                jsr        [A5 - 0x2310]
  6648. 00004832  504F                     addq.w     A7, 8
  6649. label00004834:
  6650. 00004834  42A7                     clr.l      -[A7]
  6651. 00004836  2F0B                     move.l     -[A7], A3
  6652. 00004838  2F0A                     move.l     -[A7], A2
  6653. 0000483A  4EBA FC66                jsr        [PC - 0x39A /* 000044A2 */]
  6654. 0000483E  2F0B                     move.l     -[A7], A3
  6655. 00004840  2F0A                     move.l     -[A7], A2
  6656. 00004842  4EBA 01BC                jsr        [PC + 0x1BC /* 00004A00 */]
  6657. 00004846  4AAB 0096                tst.l      [A3 + 0x96]
  6658. 0000484A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6659. 0000484E  6742                     beq        +0x44 /* 00004892 */
  6660. 00004850  4AAB 009A                tst.l      [A3 + 0x9A]
  6661. 00004854  673C                     beq        +0x3E /* 00004892 */
  6662. 00004856  306F 005A                movea.w    A0, [A7 + 0x5A]
  6663. 0000485A  2F08                     move.l     -[A7], A0
  6664. 0000485C  2F2B 0096                move.l     -[A7], [A3 + 0x96]
  6665. 00004860  4EBA D3CC                jsr        [PC - 0x2C34 /* 00001C2E */]
  6666. 00004864  306F 0064                movea.w    A0, [A7 + 0x64]
  6667. 00004868  2F08                     move.l     -[A7], A0
  6668. 0000486A  2F2B 009A                move.l     -[A7], [A3 + 0x9A]
  6669. 0000486E  4EBA D3BE                jsr        [PC - 0x2C42 /* 00001C2E */]
  6670. 00004872  302F 006C                move.w     D0, [A7 + 0x6C]
  6671. 00004876  48C0                     ext.l      D0
  6672. 00004878  4480                     neg.l      D0
  6673. 0000487A  3F00                     move.w     -[A7], D0
  6674. 0000487C  302F 006C                move.w     D0, [A7 + 0x6C]
  6675. 00004880  48C0                     ext.l      D0
  6676. 00004882  4480                     neg.l      D0
  6677. 00004884  3F00                     move.w     -[A7], D0
  6678. 00004886  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6679. 0000488A  4EAD DCF0                jsr        [A5 - 0x2310]
  6680. 0000488E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6681. label00004892:
  6682. 00004892  2F0B                     move.l     -[A7], A3
  6683. 00004894  2F0A                     move.l     -[A7], A2
  6684. 00004896  4EBA 29B8                jsr        [PC + 0x29B8 /* 00007250 */]
  6685. 0000489A  4878 0001                push.l     0x1
  6686. 0000489E  3F2B 0018                move.w     -[A7], [A3 + 0x18]
  6687. 000048A2  3F2B 001A                move.w     -[A7], [A3 + 0x1A]
  6688. 000048A6  2F2A 0054                move.l     -[A7], [A2 + 0x54]
  6689. 000048AA  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6690. 000048AE  4EAD E3C0                jsr        [A5 - 0x1C40]
  6691. 000048B2  4AAB 00A6                tst.l      [A3 + 0xA6]
  6692. 000048B6  56C0                     sne        D0
  6693. 000048B8  4400                     neg.b      D0
  6694. 000048BA  4880                     ext.w      D0
  6695. 000048BC  48C0                     ext.l      D0
  6696. 000048BE  2F00                     move.l     -[A7], D0
  6697. 000048C0  486B 0010                pea.l      [A3 + 0x10]
  6698. 000048C4  2F0B                     move.l     -[A7], A3
  6699. 000048C6  2F0A                     move.l     -[A7], A2
  6700. 000048C8  4EBA 22C0                jsr        [PC + 0x22C0 /* 00006B8A */]
  6701. 000048CC  4A86                     tst.l      D6
  6702. 000048CE  4FEF 0028                lea.l      A7, [A7 + 0x28]
  6703. 000048D2  6600 00D6                bne        +0xD8 /* 000049AA */
  6704. 000048D6  4AAA 0054                tst.l      [A2 + 0x54]
  6705. 000048DA  6600 00CE                bne        +0xD0 /* 000049AA */
  6706. 000048DE  4AAD ADBA                tst.l      [A5 - 0x5246]
  6707. 000048E2  6600 00C6                bne        +0xC8 /* 000049AA */
  6708. 000048E6  2F14                     move.l     -[A7], [A4]
  6709. 000048E8  3F2B 00B2                move.w     -[A7], [A3 + 0xB2]
  6710. 000048EC  4EAD E2B0                jsr        [A5 - 0x1D50]
  6711. 000048F0  2C48                     movea.l    A6, A0
  6712. 000048F2  1F3C 000A                move.b     -[A7], 0xA /* '\n' */
  6713. 000048F6  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6714. 000048FA  4EAD E818                jsr        [A5 - 0x17E8]
  6715. 000048FE  2808                     move.l     D4, A0
  6716. 00004900  2F0E                     move.l     -[A7], A6
  6717. 00004902  2F04                     move.l     -[A7], D4
  6718. 00004904  4EAD E2B8                jsr        [A5 - 0x1D48]
  6719. 00004908  2A00                     move.l     D5, D0
  6720. 0000490A  4A03                     tst.b      D3
  6721. 0000490C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6722. 00004910  6624                     bne        +0x26 /* 00004936 */
  6723. 00004912  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  6724. 00004916  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6725. 0000491A  4EAD E5E0                jsr        [A5 - 0x1A20]
  6726. 0000491E  2F0B                     move.l     -[A7], A3
  6727. 00004920  2F0A                     move.l     -[A7], A2
  6728. 00004922  4EBA 07D2                jsr        [PC + 0x7D2 /* 000050F6 */]
  6729. 00004926  2F2B 00A2                move.l     -[A7], [A3 + 0xA2]
  6730. 0000492A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6731. 0000492E  4EAD E5E8                jsr        [A5 - 0x1A18]
  6732. 00004932  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6733. label00004936:
  6734. 00004936  4AAF 0064                tst.l      [A7 + 0x64]
  6735. 0000493A  6716                     beq        +0x18 /* 00004952 */
  6736. 0000493C  4A85                     tst.l      D5
  6737. 0000493E  6604                     bne        +0x6 /* 00004944 */
  6738. 00004940  7002                     moveq.l    D0, 0x02
  6739. 00004942  6002                     bra        +0x4 /* 00004946 */
  6740. label00004944:
  6741. 00004944  7006                     moveq.l    D0, 0x06
  6742. label00004946:
  6743. 00004946  1F00                     move.b     -[A7], D0
  6744. 00004948  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6745. 0000494C  4EAD E8E8                jsr        [A5 - 0x1718]
  6746. 00004950  5C4F                     addq.w     A7, 6
  6747. label00004952:
  6748. 00004952  2F14                     move.l     -[A7], [A4]
  6749. 00004954  1F3C 0001                move.b     -[A7], 0x1
  6750. 00004958  42A7                     clr.l      -[A7]
  6751. 0000495A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6752. 0000495E  4EBA C53C                jsr        [PC - 0x3AC4 /* 00000E9C */]
  6753. 00004962  4A03                     tst.b      D3
  6754. 00004964  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6755. 00004968  6640                     bne        +0x42 /* 000049AA */
  6756. 0000496A  4A85                     tst.l      D5
  6757. 0000496C  6714                     beq        +0x16 /* 00004982 */
  6758. 0000496E  2F0E                     move.l     -[A7], A6
  6759. 00004970  2F04                     move.l     -[A7], D4
  6760. 00004972  3F2B 00B2                move.w     -[A7], [A3 + 0xB2]
  6761. 00004976  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6762. 0000497A  4EAD E2C0                jsr        [A5 - 0x1D40]
  6763. 0000497E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6764. label00004982:
  6765. 00004982  2F0E                     move.l     -[A7], A6
  6766. 00004984  1F3C 000A                move.b     -[A7], 0xA /* '\n' */
  6767. 00004988  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6768. 0000498C  4EAD E820                jsr        [A5 - 0x17E0]
  6769. 00004990  2F14                     move.l     -[A7], [A4]
  6770. 00004992  1F3C 0006                move.b     -[A7], 0x6
  6771. 00004996  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  6772. 0000499A  4EAD E818                jsr        [A5 - 0x17E8]
  6773. 0000499E  5C4F                     addq.w     A7, 6
  6774. 000049A0  3F10                     move.w     -[A7], [A0]
  6775. 000049A2  4EAD E728                jsr        [A5 - 0x18D8]
  6776. 000049A6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6777. label000049AA:
  6778. 000049AA  7000                     moveq.l    D0, 0x00
  6779. 000049AC  4FEF 0026                lea.l      A7, [A7 + 0x26]
  6780. 000049B0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6781. 000049B4  4E75                     rts
  6782. fn000049B6:
  6783. 000049B6  48E7 0038                movem.l    -[A7], A2,A3,A4
  6784. 000049BA  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  6785. 000049BE  286F 001C                movea.l    A4, [A7 + 0x1C]
  6786. 000049C2  266F 0022                movea.l    A3, [A7 + 0x22]
  6787. 000049C6  4AAC 0054                tst.l      [A4 + 0x54]
  6788. 000049CA  662A                     bne        +0x2C /* 000049F6 */
  6789. 000049CC  4A2F 0020                tst.b      [A7 + 0x20]
  6790. 000049D0  6624                     bne        +0x26 /* 000049F6 */
  6791. 000049D2  200B                     move.l     D0, A3
  6792. 000049D4  6712                     beq        +0x14 /* 000049E8 */
  6793. 000049D6  45D7                     lea.l      A2, [A7]
  6794. 000049D8  2E93                     move.l     [A7], [A3]
  6795. 000049DA  2F6B 0004 0004           move.l     [A7 + 0x4], [A3 + 0x4]
  6796. 000049E0  2F6B 0008 0008           move.l     [A7 + 0x8], [A3 + 0x8]
  6797. 000049E6  6002                     bra        +0x4 /* 000049EA */
  6798. label000049E8:
  6799. 000049E8  95CA                     sub.l      A2, A2
  6800. label000049EA:
  6801. 000049EA  2F0A                     move.l     -[A7], A2
  6802. 000049EC  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  6803. 000049F0  4EAD DBDA                jsr        [A5 - 0x2426]
  6804. 000049F4  504F                     addq.w     A7, 8
  6805. label000049F6:
  6806. 000049F6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6807. 000049FA  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  6808. 000049FE  4E75                     rts
  6809. fn00004A00:
  6810. 00004A00  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  6811. 00004A04  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  6812. 00004A08  266F 0034                movea.l    A3, [A7 + 0x34]
  6813. 00004A0C  246F 0038                movea.l    A2, [A7 + 0x38]
  6814. 00004A10  4AAA 0096                tst.l      [A2 + 0x96]
  6815. 00004A14  670C                     beq        +0xE /* 00004A22 */
  6816. 00004A16  4AAA 009A                tst.l      [A2 + 0x9A]
  6817. 00004A1A  6706                     beq        +0x8 /* 00004A22 */
  6818. 00004A1C  4AAA 0092                tst.l      [A2 + 0x92]
  6819. 00004A20  661A                     bne        +0x1C /* 00004A3C */
  6820. label00004A22:
  6821. 00004A22  1F3C 0002                move.b     -[A7], 0x2
  6822. 00004A26  486A 0018                pea.l      [A2 + 0x18]
  6823. 00004A2A  2F0A                     move.l     -[A7], A2
  6824. 00004A2C  2F0B                     move.l     -[A7], A3
  6825. 00004A2E  4EBA 01A0                jsr        [PC + 0x1A0 /* 00004BD0 */]
  6826. 00004A32  4FEF 0026                lea.l      A7, [A7 + 0x26]
  6827. 00004A36  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  6828. 00004A3A  4E75                     rts
  6829. label00004A3C:
  6830. 00004A3C  206A 0092                movea.l    A0, [A2 + 0x92]
  6831. 00004A40  2050                     movea.l    A0, [A0]
  6832. 00004A42  2F68 0002 0008           move.l     [A7 + 0x8], [A0 + 0x2]
  6833. 00004A48  2F68 0006 000C           move.l     [A7 + 0xC], [A0 + 0x6]
  6834. 00004A4E  302F 0008                move.w     D0, [A7 + 0x8]
  6835. 00004A52  48C0                     ext.l      D0
  6836. 00004A54  382F 000C                move.w     D4, [A7 + 0xC]
  6837. 00004A58  48C4                     ext.l      D4
  6838. 00004A5A  9880                     sub.l      D4, D0
  6839. 00004A5C  306A 00B4                movea.w    A0, [A2 + 0xB4]
  6840. 00004A60  2608                     move.l     D3, A0
  6841. 00004A62  4A6D B48A                tst.w      [A5 - 0x4B76]
  6842. 00004A66  6700 008A                beq        +0x8C /* 00004AF2 */
  6843. 00004A6A  486F 0010                pea.l      [A7 + 0x10]
  6844. 00004A6E  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  6845. 00004A72  4EAD F6B8                jsr        [A5 - 0x948]
  6846. 00004A76  486F 0018                pea.l      [A7 + 0x18]
  6847. 00004A7A  A8AE                     syscall    EmptyRect
  6848. 00004A7C  101F                     move.b     D0, [A7]+
  6849. 00004A7E  5C4F                     addq.w     A7, 6
  6850. 00004A80  6670                     bne        +0x72 /* 00004AF2 */
  6851. 00004A82  486F 0010                pea.l      [A7 + 0x10]
  6852. 00004A86  2F0A                     move.l     -[A7], A2
  6853. 00004A88  4EBA 19BC                jsr        [PC + 0x19BC /* 00006446 */]
  6854. 00004A8C  322A 001A                move.w     D1, [A2 + 0x1A]
  6855. 00004A90  48C1                     ext.l      D1
  6856. 00004A92  342F 0012                move.w     D2, [A7 + 0x12]
  6857. 00004A96  48C2                     ext.l      D2
  6858. 00004A98  9481                     sub.l      D2, D1
  6859. 00004A9A  D480                     add.l      D2, D0
  6860. 00004A9C  584F                     addq.w     A7, 4
  6861. 00004A9E  3F02                     move.w     -[A7], D2
  6862. 00004AA0  2F0A                     move.l     -[A7], A2
  6863. 00004AA2  4EBA 19C0                jsr        [PC + 0x19C0 /* 00006464 */]
  6864. 00004AA6  322A 0018                move.w     D1, [A2 + 0x18]
  6865. 00004AAA  48C1                     ext.l      D1
  6866. 00004AAC  342F 0012                move.w     D2, [A7 + 0x12]
  6867. 00004AB0  48C2                     ext.l      D2
  6868. 00004AB2  9481                     sub.l      D2, D1
  6869. 00004AB4  D480                     add.l      D2, D0
  6870. 00004AB6  584F                     addq.w     A7, 4
  6871. 00004AB8  3F02                     move.w     -[A7], D2
  6872. 00004ABA  A8A8                     syscall    OffsetRect
  6873. 00004ABC  302F 0012                move.w     D0, [A7 + 0x12]
  6874. 00004AC0  48C0                     ext.l      D0
  6875. 00004AC2  3A2F 0016                move.w     D5, [A7 + 0x16]
  6876. 00004AC6  48C5                     ext.l      D5
  6877. 00004AC8  9A80                     sub.l      D5, D0
  6878. 00004ACA  302F 0010                move.w     D0, [A7 + 0x10]
  6879. 00004ACE  48C0                     ext.l      D0
  6880. 00004AD0  3C2F 0014                move.w     D6, [A7 + 0x14]
  6881. 00004AD4  48C6                     ext.l      D6
  6882. 00004AD6  9C80                     sub.l      D6, D0
  6883. 00004AD8  486F 0008                pea.l      [A7 + 0x8]
  6884. 00004ADC  486F 0014                pea.l      [A7 + 0x14]
  6885. 00004AE0  486F 0010                pea.l      [A7 + 0x10]
  6886. 00004AE4  A8AB                     syscall    UnionRect
  6887. 00004AE6  BA83                     cmp.l      D5, D3
  6888. 00004AE8  6F02                     ble        +0x4 /* 00004AEC */
  6889. 00004AEA  2605                     move.l     D3, D5
  6890. label00004AEC:
  6891. 00004AEC  BC84                     cmp.l      D6, D4
  6892. 00004AEE  6F02                     ble        +0x4 /* 00004AF2 */
  6893. 00004AF0  2806                     move.l     D4, D6
  6894. label00004AF2:
  6895. 00004AF2  2EAA 0010                move.l     [A7], [A2 + 0x10]
  6896. 00004AF6  2F6A 0014 0004           move.l     [A7 + 0x4], [A2 + 0x14]
  6897. 00004AFC  4857                     pea.l      [A7]
  6898. 00004AFE  2F04                     move.l     -[A7], D4
  6899. 00004B00  2F03                     move.l     -[A7], D3
  6900. 00004B02  2F0A                     move.l     -[A7], A2
  6901. 00004B04  2F0B                     move.l     -[A7], A3
  6902. 00004B06  4EBA 0050                jsr        [PC + 0x50 /* 00004B58 */]
  6903. 00004B0A  4AAA 0096                tst.l      [A2 + 0x96]
  6904. 00004B0E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6905. 00004B12  670C                     beq        +0xE /* 00004B20 */
  6906. 00004B14  206A 0096                movea.l    A0, [A2 + 0x96]
  6907. 00004B18  2050                     movea.l    A0, [A0]
  6908. 00004B1A  4A28 0010                tst.b      [A0 + 0x10]
  6909. 00004B1E  6612                     bne        +0x14 /* 00004B32 */
  6910. label00004B20:
  6911. 00004B20  4AAA 009A                tst.l      [A2 + 0x9A]
  6912. 00004B24  6728                     beq        +0x2A /* 00004B4E */
  6913. 00004B26  206A 009A                movea.l    A0, [A2 + 0x9A]
  6914. 00004B2A  2050                     movea.l    A0, [A0]
  6915. 00004B2C  4A28 0010                tst.b      [A0 + 0x10]
  6916. 00004B30  671C                     beq        +0x1E /* 00004B4E */
  6917. label00004B32:
  6918. 00004B32  2EAA 0018                move.l     [A7], [A2 + 0x18]
  6919. 00004B36  2F6A 001C 0004           move.l     [A7 + 0x4], [A2 + 0x1C]
  6920. 00004B3C  4857                     pea.l      [A7]
  6921. 00004B3E  2F04                     move.l     -[A7], D4
  6922. 00004B40  2F03                     move.l     -[A7], D3
  6923. 00004B42  2F0A                     move.l     -[A7], A2
  6924. 00004B44  2F0B                     move.l     -[A7], A3
  6925. 00004B46  4EBA 0010                jsr        [PC + 0x10 /* 00004B58 */]
  6926. 00004B4A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  6927. label00004B4E:
  6928. 00004B4E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6929. 00004B52  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  6930. 00004B56  4E75                     rts
  6931. fn00004B58:
  6932. 00004B58  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  6933. 00004B5C  266F 0018                movea.l    A3, [A7 + 0x18]
  6934. 00004B60  246F 0024                movea.l    A2, [A7 + 0x24]
  6935. 00004B64  362A 0002                move.w     D3, [A2 + 0x2]
  6936. 00004B68  48C3                     ext.l      D3
  6937. 00004B6A  322A 0006                move.w     D1, [A2 + 0x6]
  6938. 00004B6E  48C1                     ext.l      D1
  6939. 00004B70  9283                     sub.l      D1, D3
  6940. 00004B72  262F 001C                move.l     D3, [A7 + 0x1C]
  6941. 00004B76  9681                     sub.l      D3, D1
  6942. 00004B78  5383                     subq.l     D3, 1
  6943. 00004B7A  3812                     move.w     D4, [A2]
  6944. 00004B7C  48C4                     ext.l      D4
  6945. 00004B7E  322A 0004                move.w     D1, [A2 + 0x4]
  6946. 00004B82  48C1                     ext.l      D1
  6947. 00004B84  9284                     sub.l      D1, D4
  6948. 00004B86  282F 0020                move.l     D4, [A7 + 0x20]
  6949. 00004B8A  9881                     sub.l      D4, D1
  6950. 00004B8C  4A83                     tst.l      D3
  6951. 00004B8E  6E04                     bgt        +0x6 /* 00004B94 */
  6952. 00004B90  7000                     moveq.l    D0, 0x00
  6953. 00004B92  6002                     bra        +0x4 /* 00004B96 */
  6954. label00004B94:
  6955. 00004B94  2003                     move.l     D0, D3
  6956. label00004B96:
  6957. 00004B96  2F00                     move.l     -[A7], D0
  6958. 00004B98  2F2B 0096                move.l     -[A7], [A3 + 0x96]
  6959. 00004B9C  4EBA CF1A                jsr        [PC - 0x30E6 /* 00001AB8 */]
  6960. 00004BA0  4A84                     tst.l      D4
  6961. 00004BA2  6E04                     bgt        +0x6 /* 00004BA8 */
  6962. 00004BA4  7000                     moveq.l    D0, 0x00
  6963. 00004BA6  6002                     bra        +0x4 /* 00004BAA */
  6964. label00004BA8:
  6965. 00004BA8  2004                     move.l     D0, D4
  6966. label00004BAA:
  6967. 00004BAA  2F00                     move.l     -[A7], D0
  6968. 00004BAC  2F2B 009A                move.l     -[A7], [A3 + 0x9A]
  6969. 00004BB0  4EBA CF06                jsr        [PC - 0x30FA /* 00001AB8 */]
  6970. 00004BB4  1F3C 0002                move.b     -[A7], 0x2
  6971. 00004BB8  486B 0018                pea.l      [A3 + 0x18]
  6972. 00004BBC  2F0B                     move.l     -[A7], A3
  6973. 00004BBE  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  6974. 00004BC2  4EBA 000C                jsr        [PC + 0xC /* 00004BD0 */]
  6975. 00004BC6  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  6976. 00004BCA  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  6977. 00004BCE  4E75                     rts
  6978. fn00004BD0:
  6979. 00004BD0  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  6980. 00004BD4  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  6981. 00004BD8  2C6F 0030                movea.l    A6, [A7 + 0x30]
  6982. 00004BDC  246F 0034                movea.l    A2, [A7 + 0x34]
  6983. 00004BE0  266F 0038                movea.l    A3, [A7 + 0x38]
  6984. 00004BE4  1A2F 003C                move.b     D5, [A7 + 0x3C]
  6985. 00004BE8  362A 0010                move.w     D3, [A2 + 0x10]
  6986. 00004BEC  4AAA 008E                tst.l      [A2 + 0x8E]
  6987. 00004BF0  675C                     beq        +0x5E /* 00004C4E */
  6988. 00004BF2  3F43 0008                move.w     [A7 + 0x8], D3
  6989. 00004BF6  286A 008E                movea.l    A4, [A2 + 0x8E]
  6990. 00004BFA  2854                     movea.l    A4, [A4]
  6991. 00004BFC  548C                     addq.l     A4, 2
  6992. 00004BFE  3014                     move.w     D0, [A4]
  6993. 00004C00  48C0                     ext.l      D0
  6994. 00004C02  322C 0004                move.w     D1, [A4 + 0x4]
  6995. 00004C06  48C1                     ext.l      D1
  6996. 00004C08  9280                     sub.l      D1, D0
  6997. 00004C0A  3003                     move.w     D0, D3
  6998. 00004C0C  48C0                     ext.l      D0
  6999. 00004C0E  D081                     add.l      D0, D1
  7000. 00004C10  3F40 000C                move.w     [A7 + 0xC], D0
  7001. 00004C14  4AAA 0096                tst.l      [A2 + 0x96]
  7002. 00004C18  6724                     beq        +0x26 /* 00004C3E */
  7003. 00004C1A  206A 0096                movea.l    A0, [A2 + 0x96]
  7004. 00004C1E  2050                     movea.l    A0, [A0]
  7005. 00004C20  4A28 0010                tst.b      [A0 + 0x10]
  7006. 00004C24  6718                     beq        +0x1A /* 00004C3E */
  7007. 00004C26  382A 0014                move.w     D4, [A2 + 0x14]
  7008. 00004C2A  48C4                     ext.l      D4
  7009. 00004C2C  72F1                     moveq.l    D1, 0xFFFFFFF1
  7010. 00004C2E  D881                     add.l      D4, D1
  7011. 00004C30  302F 000C                move.w     D0, [A7 + 0xC]
  7012. 00004C34  48C0                     ext.l      D0
  7013. 00004C36  B084                     cmp.l      D0, D4
  7014. 00004C38  6F04                     ble        +0x6 /* 00004C3E */
  7015. 00004C3A  3F44 000C                move.w     [A7 + 0xC], D4
  7016. label00004C3E:
  7017. 00004C3E  3F6E 0042 000A           move.w     [A7 + 0xA], [A6 + 0x42]
  7018. 00004C44  3F6E 0046 000E           move.w     [A7 + 0xE], [A6 + 0x46]
  7019. 00004C4A  362F 000C                move.w     D3, [A7 + 0xC]
  7020. label00004C4E:
  7021. 00004C4E  4A05                     tst.b      D5
  7022. 00004C50  6706                     beq        +0x8 /* 00004C58 */
  7023. 00004C52  0C05 0002                cmpi.b     D5, 0x2
  7024. 00004C56  6658                     bne        +0x5A /* 00004CB0 */
  7025. label00004C58:
  7026. 00004C58  3F6A 0012 0002           move.w     [A7 + 0x2], [A2 + 0x12]
  7027. 00004C5E  3E83                     move.w     [A7], D3
  7028. 00004C60  4AAA 0096                tst.l      [A2 + 0x96]
  7029. 00004C64  671C                     beq        +0x1E /* 00004C82 */
  7030. 00004C66  206A 0096                movea.l    A0, [A2 + 0x96]
  7031. 00004C6A  2050                     movea.l    A0, [A0]
  7032. 00004C6C  4A28 0010                tst.b      [A0 + 0x10]
  7033. 00004C70  6710                     beq        +0x12 /* 00004C82 */
  7034. 00004C72  302A 0014                move.w     D0, [A2 + 0x14]
  7035. 00004C76  48C0                     ext.l      D0
  7036. 00004C78  72F1                     moveq.l    D1, 0xFFFFFFF1
  7037. 00004C7A  D081                     add.l      D0, D1
  7038. 00004C7C  3F40 0004                move.w     [A7 + 0x4], D0
  7039. 00004C80  6006                     bra        +0x8 /* 00004C88 */
  7040. label00004C82:
  7041. 00004C82  3F6A 0014 0004           move.w     [A7 + 0x4], [A2 + 0x14]
  7042. label00004C88:
  7043. 00004C88  4AAA 009A                tst.l      [A2 + 0x9A]
  7044. 00004C8C  671C                     beq        +0x1E /* 00004CAA */
  7045. 00004C8E  206A 009A                movea.l    A0, [A2 + 0x9A]
  7046. 00004C92  2050                     movea.l    A0, [A0]
  7047. 00004C94  4A28 0010                tst.b      [A0 + 0x10]
  7048. 00004C98  6710                     beq        +0x12 /* 00004CAA */
  7049. 00004C9A  302A 0016                move.w     D0, [A2 + 0x16]
  7050. 00004C9E  48C0                     ext.l      D0
  7051. 00004CA0  72F1                     moveq.l    D1, 0xFFFFFFF1
  7052. 00004CA2  D081                     add.l      D0, D1
  7053. 00004CA4  3F40 0006                move.w     [A7 + 0x6], D0
  7054. 00004CA8  6006                     bra        +0x8 /* 00004CB0 */
  7055. label00004CAA:
  7056. 00004CAA  3F6A 0016 0006           move.w     [A7 + 0x6], [A2 + 0x16]
  7057. label00004CB0:
  7058. 00004CB0  7000                     moveq.l    D0, 0x00
  7059. 00004CB2  1005                     move.b     D0, D5
  7060. 00004CB4  6722                     beq        +0x24 /* 00004CD8 */
  7061. 00004CB6  5380                     subq.l     D0, 1
  7062. 00004CB8  6728                     beq        +0x2A /* 00004CE2 */
  7063. 00004CBA  5380                     subq.l     D0, 1
  7064. 00004CBC  6702                     beq        +0x4 /* 00004CC0 */
  7065. 00004CBE  6042                     bra        +0x44 /* 00004D02 */
  7066. label00004CC0:
  7067. 00004CC0  4AAA 008E                tst.l      [A2 + 0x8E]
  7068. 00004CC4  6712                     beq        +0x14 /* 00004CD8 */
  7069. 00004CC6  4857                     pea.l      [A7]
  7070. 00004CC8  486F 000C                pea.l      [A7 + 0xC]
  7071. 00004CCC  2F0B                     move.l     -[A7], A3
  7072. 00004CCE  A8AB                     syscall    UnionRect
  7073. 00004CD0  376F 0006 0006           move.w     [A3 + 0x6], [A7 + 0x6]
  7074. 00004CD6  602A                     bra        +0x2C /* 00004D02 */
  7075. label00004CD8:
  7076. 00004CD8  2697                     move.l     [A3], [A7]
  7077. 00004CDA  276F 0004 0004           move.l     [A3 + 0x4], [A7 + 0x4]
  7078. 00004CE0  6020                     bra        +0x22 /* 00004D02 */
  7079. label00004CE2:
  7080. 00004CE2  4AAA 008E                tst.l      [A2 + 0x8E]
  7081. 00004CE6  670C                     beq        +0xE /* 00004CF4 */
  7082. 00004CE8  26AF 0008                move.l     [A3], [A7 + 0x8]
  7083. 00004CEC  276F 000C 0004           move.l     [A3 + 0x4], [A7 + 0xC]
  7084. 00004CF2  600E                     bra        +0x10 /* 00004D02 */
  7085. label00004CF4:
  7086. 00004CF4  426B 0004                clr.w      [A3 + 0x4]
  7087. 00004CF8  426B 0006                clr.w      [A3 + 0x6]
  7088. 00004CFC  4253                     clr.w      [A3]
  7089. 00004CFE  426B 0002                clr.w      [A3 + 0x2]
  7090. label00004D02:
  7091. 00004D02  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7092. 00004D06  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  7093. 00004D0A  4E75                     rts
  7094. fn00004D0C:
  7095. 00004D0C  2F0A                     move.l     -[A7], A2
  7096. 00004D0E  246F 0008                movea.l    A2, [A7 + 0x8]
  7097. 00004D12  4AAA 008E                tst.l      [A2 + 0x8E]
  7098. 00004D16  670E                     beq        +0x10 /* 00004D26 */
  7099. 00004D18  2F2A 008E                move.l     -[A7], [A2 + 0x8E]
  7100. 00004D1C  4EAD DAA2                jsr        [A5 - 0x255E]
  7101. 00004D20  42AA 008E                clr.l      [A2 + 0x8E]
  7102. 00004D24  584F                     addq.w     A7, 4
  7103. label00004D26:
  7104. 00004D26  4AAA 0092                tst.l      [A2 + 0x92]
  7105. 00004D2A  670E                     beq        +0x10 /* 00004D3A */
  7106. 00004D2C  2F2A 0092                move.l     -[A7], [A2 + 0x92]
  7107. 00004D30  4EAD DAA2                jsr        [A5 - 0x255E]
  7108. 00004D34  42AA 0092                clr.l      [A2 + 0x92]
  7109. 00004D38  584F                     addq.w     A7, 4
  7110. label00004D3A:
  7111. 00004D3A  245F                     movea.l    A2, [A7]+
  7112. 00004D3C  4E75                     rts
  7113. fn00004D3E:
  7114. 00004D3E  2F0A                     move.l     -[A7], A2
  7115. 00004D40  246F 000C                movea.l    A2, [A7 + 0xC]
  7116. 00004D44  2F0A                     move.l     -[A7], A2
  7117. 00004D46  4EBA FFC4                jsr        [PC - 0x3C /* 00004D0C */]
  7118. 00004D4A  2F2A 008A                move.l     -[A7], [A2 + 0x8A]
  7119. 00004D4E  4EBA D22E                jsr        [PC - 0x2DD2 /* 00001F7E */]
  7120. 00004D52  206F 0010                movea.l    A0, [A7 + 0x10]
  7121. 00004D56  2F28 0054                move.l     -[A7], [A0 + 0x54]
  7122. 00004D5A  2F28 0048                move.l     -[A7], [A0 + 0x48]
  7123. 00004D5E  4EAD E380                jsr        [A5 - 0x1C80]
  7124. 00004D62  4AAA 0076                tst.l      [A2 + 0x76]
  7125. 00004D66  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7126. 00004D6A  6706                     beq        +0x8 /* 00004D72 */
  7127. 00004D6C  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7128. 00004D70  A8D9                     syscall    DisposRgn/DisposeRgn
  7129. label00004D72:
  7130. 00004D72  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  7131. 00004D76  4EBA CB80                jsr        [PC - 0x3480 /* 000018F8 */]
  7132. 00004D7A  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  7133. 00004D7E  4EBA CB78                jsr        [PC - 0x3488 /* 000018F8 */]
  7134. 00004D82  4AAA 009E                tst.l      [A2 + 0x9E]
  7135. 00004D86  504F                     addq.w     A7, 8
  7136. 00004D88  670A                     beq        +0xC /* 00004D94 */
  7137. 00004D8A  2F2A 009E                move.l     -[A7], [A2 + 0x9E]
  7138. 00004D8E  4EAD E578                jsr        [A5 - 0x1A88]
  7139. 00004D92  584F                     addq.w     A7, 4
  7140. label00004D94:
  7141. 00004D94  245F                     movea.l    A2, [A7]+
  7142. 00004D96  4E75                     rts
  7143. fn00004D98:
  7144. 00004D98  48E7 0030                movem.l    -[A7], A2,A3
  7145. 00004D9C  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  7146. 00004DA0  266F 002C                movea.l    A3, [A7 + 0x2C]
  7147. 00004DA4  246F 0030                movea.l    A2, [A7 + 0x30]
  7148. 00004DA8  4AAA 0092                tst.l      [A2 + 0x92]
  7149. 00004DAC  6700 0160                beq        +0x162 /* 00004F0E */
  7150. 00004DB0  2F6A 0018 0010           move.l     [A7 + 0x10], [A2 + 0x18]
  7151. 00004DB6  2F6A 001C 0014           move.l     [A7 + 0x14], [A2 + 0x1C]
  7152. 00004DBC  066F 0010 0016           addi.w     [A7 + 0x16], 0x10
  7153. 00004DC2  554F                     subq.w     A7, 2
  7154. 00004DC4  486F 0012                pea.l      [A7 + 0x12]
  7155. 00004DC8  206B 0048                movea.l    A0, [A3 + 0x48]
  7156. 00004DCC  2F28 0018                move.l     -[A7], [A0 + 0x18]
  7157. 00004DD0  A8E9                     syscall    RectInRgn
  7158. 00004DD2  101F                     move.b     D0, [A7]+
  7159. 00004DD4  6700 0138                beq        +0x13A /* 00004F0E */
  7160. 00004DD8  4EAD DD60                jsr        [A5 - 0x22A0]
  7161. 00004DDC  4EAD DD70                jsr        [A5 - 0x2290]
  7162. 00004DE0  42A7                     clr.l      -[A7]
  7163. 00004DE2  4EAD DD50                jsr        [A5 - 0x22B0]
  7164. 00004DE6  4AAA 008E                tst.l      [A2 + 0x8E]
  7165. 00004DEA  584F                     addq.w     A7, 4
  7166. 00004DEC  6700 0096                beq        +0x98 /* 00004E84 */
  7167. 00004DF0  1F3C 0001                move.b     -[A7], 0x1
  7168. 00004DF4  486F 000A                pea.l      [A7 + 0xA]
  7169. 00004DF8  2F0A                     move.l     -[A7], A2
  7170. 00004DFA  2F0B                     move.l     -[A7], A3
  7171. 00004DFC  4EBA FDD2                jsr        [PC - 0x22E /* 00004BD0 */]
  7172. 00004E00  486F 0016                pea.l      [A7 + 0x16]
  7173. 00004E04  A87B                     syscall    ClipRect
  7174. 00004E06  206A 008E                movea.l    A0, [A2 + 0x8E]
  7175. 00004E0A  2050                     movea.l    A0, [A0]
  7176. 00004E0C  2F68 0002 0026           move.l     [A7 + 0x26], [A0 + 0x2]
  7177. 00004E12  2F68 0006 002A           move.l     [A7 + 0x2A], [A0 + 0x6]
  7178. 00004E18  486F 0026                pea.l      [A7 + 0x26]
  7179. 00004E1C  302F 002C                move.w     D0, [A7 + 0x2C]
  7180. 00004E20  48C0                     ext.l      D0
  7181. 00004E22  322F 001C                move.w     D1, [A7 + 0x1C]
  7182. 00004E26  48C1                     ext.l      D1
  7183. 00004E28  9280                     sub.l      D1, D0
  7184. 00004E2A  3F01                     move.w     -[A7], D1
  7185. 00004E2C  302F 002C                move.w     D0, [A7 + 0x2C]
  7186. 00004E30  48C0                     ext.l      D0
  7187. 00004E32  322F 001C                move.w     D1, [A7 + 0x1C]
  7188. 00004E36  48C1                     ext.l      D1
  7189. 00004E38  9280                     sub.l      D1, D0
  7190. 00004E3A  3F01                     move.w     -[A7], D1
  7191. 00004E3C  A8A8                     syscall    OffsetRect
  7192. 00004E3E  7001                     moveq.l    D0, 0x01
  7193. 00004E40  2F40 0012                move.l     [A7 + 0x12], D0
  7194. 00004E44  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  7195. 00004E48  486F 0016                pea.l      [A7 + 0x16]
  7196. 00004E4C  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7197. 00004E50  4EAD E400                jsr        [A5 - 0x1C00]
  7198. 00004E54  486F 0032                pea.l      [A7 + 0x32]
  7199. 00004E58  2F2A 008E                move.l     -[A7], [A2 + 0x8E]
  7200. 00004E5C  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7201. 00004E60  4EAD DAAE                jsr        [A5 - 0x2552]
  7202. 00004E64  3F6F 0042 0036           move.w     [A7 + 0x36], [A7 + 0x42]
  7203. 00004E6A  4AAB 0054                tst.l      [A3 + 0x54]
  7204. 00004E6E  4FEF 0026                lea.l      A7, [A7 + 0x26]
  7205. 00004E72  6610                     bne        +0x12 /* 00004E84 */
  7206. 00004E74  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  7207. 00004E78  2F0A                     move.l     -[A7], A2
  7208. 00004E7A  2F0B                     move.l     -[A7], A3
  7209. 00004E7C  4EBA 009A                jsr        [PC + 0x9A /* 00004F18 */]
  7210. 00004E80  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7211. label00004E84:
  7212. 00004E84  046F 0010 0016           subi.w     [A7 + 0x16], 0x10
  7213. 00004E8A  486F 0010                pea.l      [A7 + 0x10]
  7214. 00004E8E  A87B                     syscall    ClipRect
  7215. 00004E90  206A 0092                movea.l    A0, [A2 + 0x92]
  7216. 00004E94  2050                     movea.l    A0, [A0]
  7217. 00004E96  2F68 0002 0018           move.l     [A7 + 0x18], [A0 + 0x2]
  7218. 00004E9C  2F68 0006 001C           move.l     [A7 + 0x1C], [A0 + 0x6]
  7219. 00004EA2  486F 0018                pea.l      [A7 + 0x18]
  7220. 00004EA6  2F0A                     move.l     -[A7], A2
  7221. 00004EA8  4EBA 159C                jsr        [PC + 0x159C /* 00006446 */]
  7222. 00004EAC  322F 0022                move.w     D1, [A7 + 0x22]
  7223. 00004EB0  48C1                     ext.l      D1
  7224. 00004EB2  342A 001A                move.w     D2, [A2 + 0x1A]
  7225. 00004EB6  48C2                     ext.l      D2
  7226. 00004EB8  9481                     sub.l      D2, D1
  7227. 00004EBA  9480                     sub.l      D2, D0
  7228. 00004EBC  584F                     addq.w     A7, 4
  7229. 00004EBE  3F02                     move.w     -[A7], D2
  7230. 00004EC0  2F0A                     move.l     -[A7], A2
  7231. 00004EC2  4EBA 15A0                jsr        [PC + 0x15A0 /* 00006464 */]
  7232. 00004EC6  322F 0022                move.w     D1, [A7 + 0x22]
  7233. 00004ECA  48C1                     ext.l      D1
  7234. 00004ECC  342A 0018                move.w     D2, [A2 + 0x18]
  7235. 00004ED0  48C2                     ext.l      D2
  7236. 00004ED2  9481                     sub.l      D2, D1
  7237. 00004ED4  9480                     sub.l      D2, D0
  7238. 00004ED6  584F                     addq.w     A7, 4
  7239. 00004ED8  3F02                     move.w     -[A7], D2
  7240. 00004EDA  A8A8                     syscall    OffsetRect
  7241. 00004EDC  4297                     clr.l      [A7]
  7242. 00004EDE  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  7243. 00004EE2  486F 0004                pea.l      [A7 + 0x4]
  7244. 00004EE6  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7245. 00004EEA  4EAD E400                jsr        [A5 - 0x1C00]
  7246. 00004EEE  486F 0024                pea.l      [A7 + 0x24]
  7247. 00004EF2  2F2A 0092                move.l     -[A7], [A2 + 0x92]
  7248. 00004EF6  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7249. 00004EFA  4EAD DAAE                jsr        [A5 - 0x2552]
  7250. 00004EFE  4EAD DD78                jsr        [A5 - 0x2288]
  7251. 00004F02  4EAD DD68                jsr        [A5 - 0x2298]
  7252. 00004F06  4EAD DD58                jsr        [A5 - 0x22A8]
  7253. 00004F0A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7254. label00004F0E:
  7255. 00004F0E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7256. 00004F12  4CDF 0C00                movem.l    A2,A3, [A7]+
  7257. 00004F16  4E75                     rts
  7258. fn00004F18:
  7259. 00004F18  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  7260. 00004F1C  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  7261. 00004F20  246F 0024                movea.l    A2, [A7 + 0x24]
  7262. 00004F24  286F 0028                movea.l    A4, [A7 + 0x28]
  7263. 00004F28  382F 002C                move.w     D4, [A7 + 0x2C]
  7264. 00004F2C  2F6C 00AA 0008           move.l     [A7 + 0x8], [A4 + 0xAA]
  7265. 00004F32  1F3C 0009                move.b     -[A7], 0x9 /* '\t' */
  7266. 00004F36  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  7267. 00004F3A  4EAD E818                jsr        [A5 - 0x17E8]
  7268. 00004F3E  2610                     move.l     D3, [A0]
  7269. 00004F40  42A7                     clr.l      -[A7]
  7270. 00004F42  486F 0012                pea.l      [A7 + 0x12]
  7271. 00004F46  486F 000E                pea.l      [A7 + 0xE]
  7272. 00004F4A  486F 0018                pea.l      [A7 + 0x18]
  7273. 00004F4E  486F 001A                pea.l      [A7 + 0x1A]
  7274. 00004F52  2F03                     move.l     -[A7], D3
  7275. 00004F54  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  7276. 00004F58  4EAD E8B8                jsr        [A5 - 0x1748]
  7277. 00004F5C  4AAF 002A                tst.l      [A7 + 0x2A]
  7278. 00004F60  4FEF 0022                lea.l      A7, [A7 + 0x22]
  7279. 00004F64  6742                     beq        +0x44 /* 00004FA8 */
  7280. 00004F66  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  7281. 00004F6A  4EAD E848                jsr        [A5 - 0x17B8]
  7282. 00004F6E  5300                     subq.b     D0, 1
  7283. 00004F70  584F                     addq.w     A7, 4
  7284. 00004F72  6734                     beq        +0x36 /* 00004FA8 */
  7285. 00004F74  266C 0092                movea.l    A3, [A4 + 0x92]
  7286. 00004F78  2653                     movea.l    A3, [A3]
  7287. 00004F7A  548B                     addq.l     A3, 2
  7288. 00004F7C  302B 0004                move.w     D0, [A3 + 0x4]
  7289. 00004F80  B053                     cmp.w      D0, [A3]
  7290. 00004F82  6F24                     ble        +0x26 /* 00004FA8 */
  7291. 00004F84  A89E                     syscall    PenNormal
  7292. 00004F86  4878 0021                push.l     0x21 /* '!' */
  7293. 00004F8A  A862                     syscall    ForeColor
  7294. 00004F8C  3F2A 0042                move.w     -[A7], [A2 + 0x42]
  7295. 00004F90  3004                     move.w     D0, D4
  7296. 00004F92  48C0                     ext.l      D0
  7297. 00004F94  5380                     subq.l     D0, 1
  7298. 00004F96  3F00                     move.w     -[A7], D0
  7299. 00004F98  A893                     syscall    MoveTo
  7300. 00004F9A  3F2A 0046                move.w     -[A7], [A2 + 0x46]
  7301. 00004F9E  3004                     move.w     D0, D4
  7302. 00004FA0  48C0                     ext.l      D0
  7303. 00004FA2  5380                     subq.l     D0, 1
  7304. 00004FA4  3F00                     move.w     -[A7], D0
  7305. 00004FA6  A891                     syscall    LineTo
  7306. label00004FA8:
  7307. 00004FA8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7308. 00004FAC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  7309. 00004FB0  4E75                     rts
  7310. fn00004FB2:
  7311. 00004FB2  514F                     subq.w     A7, 8
  7312. 00004FB4  1F3C 0001                move.b     -[A7], 0x1
  7313. 00004FB8  486F 0002                pea.l      [A7 + 0x2]
  7314. 00004FBC  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  7315. 00004FC0  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  7316. 00004FC4  4EBA FC0A                jsr        [PC - 0x3F6 /* 00004BD0 */]
  7317. 00004FC8  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  7318. 00004FCC  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  7319. 00004FD0  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  7320. 00004FD4  554F                     subq.w     A7, 2
  7321. 00004FD6  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  7322. 00004FDA  486F 0020                pea.l      [A7 + 0x20]
  7323. 00004FDE  A8AD                     syscall    PtInRect
  7324. 00004FE0  101F                     move.b     D0, [A7]+
  7325. 00004FE2  7200                     moveq.l    D1, 0x00
  7326. 00004FE4  1200                     move.b     D1, D0
  7327. 00004FE6  2F01                     move.l     -[A7], D1
  7328. 00004FE8  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  7329. 00004FEC  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  7330. 00004FF0  4EBA 0008                jsr        [PC + 0x8 /* 00004FFA */]
  7331. 00004FF4  4FEF 002E                lea.l      A7, [A7 + 0x2E]
  7332. 00004FF8  4E75                     rts
  7333. fn00004FFA:
  7334. 00004FFA  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7335. 00004FFE  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  7336. 00005002  266F 0034                movea.l    A3, [A7 + 0x34]
  7337. 00005006  2A2F 003C                move.l     D5, [A7 + 0x3C]
  7338. 0000500A  282F 0040                move.l     D4, [A7 + 0x40]
  7339. 0000500E  2C6F 0044                movea.l    A6, [A7 + 0x44]
  7340. 00005012  286F 0048                movea.l    A4, [A7 + 0x48]
  7341. 00005016  2EAB 008A                move.l     [A7], [A3 + 0x8A]
  7342. 0000501A  2F0B                     move.l     -[A7], A3
  7343. 0000501C  4EBA 1428                jsr        [PC + 0x1428 /* 00006446 */]
  7344. 00005020  4480                     neg.l      D0
  7345. 00005022  322B 0012                move.w     D1, [A3 + 0x12]
  7346. 00005026  48C1                     ext.l      D1
  7347. 00005028  D280                     add.l      D1, D0
  7348. 0000502A  2C01                     move.l     D6, D1
  7349. 0000502C  2F0B                     move.l     -[A7], A3
  7350. 0000502E  4EBA 1434                jsr        [PC + 0x1434 /* 00006464 */]
  7351. 00005032  4480                     neg.l      D0
  7352. 00005034  322B 0010                move.w     D1, [A3 + 0x10]
  7353. 00005038  48C1                     ext.l      D1
  7354. 0000503A  D280                     add.l      D1, D0
  7355. 0000503C  2E01                     move.l     D7, D1
  7356. 0000503E  4AAF 0008                tst.l      [A7 + 0x8]
  7357. 00005042  504F                     addq.w     A7, 8
  7358. 00005044  660C                     bne        +0xE /* 00005052 */
  7359. 00005046  7000                     moveq.l    D0, 0x00
  7360. 00005048  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7361. 0000504C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7362. 00005050  4E75                     rts
  7363. label00005052:
  7364. 00005052  594F                     subq.w     A7, 4
  7365. 00005054  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7366. 00005058  4EAD D9AC                jsr        [A5 - 0x2654]
  7367. 0000505C  201F                     move.l     D0, [A7]+
  7368. 0000505E  7224                     moveq.l    D1, 0x24
  7369. 00005060  4EAD D8FE                jsr        [A5 - 0x2702]
  7370. 00005064  2600                     move.l     D3, D0
  7371. 00005066  2057                     movea.l    A0, [A7]
  7372. 00005068  2450                     movea.l    A2, [A0]
  7373. 0000506A  607A                     bra        +0x7C /* 000050E6 */
  7374. label0000506C:
  7375. 0000506C  2F52 0004                move.l     [A7 + 0x4], [A2]
  7376. 00005070  2F6A 0004 0008           move.l     [A7 + 0x8], [A2 + 0x4]
  7377. 00005076  4A2A 0021                tst.b      [A2 + 0x21]
  7378. 0000507A  6710                     beq        +0x12 /* 0000508C */
  7379. 0000507C  4A85                     tst.l      D5
  7380. 0000507E  6660                     bne        +0x62 /* 000050E0 */
  7381. 00005080  486F 0004                pea.l      [A7 + 0x4]
  7382. 00005084  3F06                     move.w     -[A7], D6
  7383. 00005086  3F07                     move.w     -[A7], D7
  7384. 00005088  A8A8                     syscall    OffsetRect
  7385. 0000508A  6012                     bra        +0x14 /* 0000509E */
  7386. label0000508C:
  7387. 0000508C  4A85                     tst.l      D5
  7388. 0000508E  6750                     beq        +0x52 /* 000050E0 */
  7389. 00005090  486F 0004                pea.l      [A7 + 0x4]
  7390. 00005094  3F2B 0012                move.w     -[A7], [A3 + 0x12]
  7391. 00005098  3F2B 0010                move.w     -[A7], [A3 + 0x10]
  7392. 0000509C  A8A8                     syscall    OffsetRect
  7393. label0000509E:
  7394. 0000509E  554F                     subq.w     A7, 2
  7395. 000050A0  2F2F 003A                move.l     -[A7], [A7 + 0x3A]
  7396. 000050A4  486F 000A                pea.l      [A7 + 0xA]
  7397. 000050A8  A8AD                     syscall    PtInRect
  7398. 000050AA  101F                     move.b     D0, [A7]+
  7399. 000050AC  6732                     beq        +0x34 /* 000050E0 */
  7400. 000050AE  4A84                     tst.l      D4
  7401. 000050B0  670C                     beq        +0xE /* 000050BE */
  7402. 000050B2  2044                     movea.l    A0, D4
  7403. 000050B4  43D2                     lea.l      A1, [A2]
  7404. 000050B6  7008                     moveq.l    D0, 0x08
  7405. label000050B8:
  7406. 000050B8  20D9                     move.l     [A0]+, [A1]+
  7407. 000050BA  51C8 FFFC                dbf        D0, -0x6 /* 000050B8 */
  7408. label000050BE:
  7409. 000050BE  200E                     move.l     D0, A6
  7410. 000050C0  670A                     beq        +0xC /* 000050CC */
  7411. 000050C2  2CAF 0004                move.l     [A6], [A7 + 0x4]
  7412. 000050C6  2D6F 0008 0004           move.l     [A6 + 0x4], [A7 + 0x8]
  7413. label000050CC:
  7414. 000050CC  200C                     move.l     D0, A4
  7415. 000050CE  6704                     beq        +0x6 /* 000050D4 */
  7416. 000050D0  28AA 0014                move.l     [A4], [A2 + 0x14]
  7417. label000050D4:
  7418. 000050D4  7001                     moveq.l    D0, 0x01
  7419. 000050D6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7420. 000050DA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7421. 000050DE  4E75                     rts
  7422. label000050E0:
  7423. 000050E0  5383                     subq.l     D3, 1
  7424. 000050E2  7024                     moveq.l    D0, 0x24
  7425. 000050E4  D5C0                     add.l      A2, D0
  7426. label000050E6:
  7427. 000050E6  4A83                     tst.l      D3
  7428. 000050E8  6682                     bne        -0x7C /* 0000506C */
  7429. 000050EA  7000                     moveq.l    D0, 0x00
  7430. 000050EC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7431. 000050F0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7432. 000050F4  4E75                     rts
  7433. fn000050F6:
  7434. 000050F6  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  7435. 000050FA  266F 001C                movea.l    A3, [A7 + 0x1C]
  7436. 000050FE  1F3C 0002                move.b     -[A7], 0x2
  7437. 00005102  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7438. 00005106  4EAD E818                jsr        [A5 - 0x17E8]
  7439. 0000510A  2610                     move.l     D3, [A0]
  7440. 0000510C  1F3C 0003                move.b     -[A7], 0x3
  7441. 00005110  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7442. 00005114  4EAD E818                jsr        [A5 - 0x17E8]
  7443. 00005118  2448                     movea.l    A2, A0
  7444. 0000511A  2F03                     move.l     -[A7], D3
  7445. 0000511C  1F3C 0006                move.b     -[A7], 0x6
  7446. 00005120  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7447. 00005124  4EAD E818                jsr        [A5 - 0x17E8]
  7448. 00005128  5C4F                     addq.w     A7, 6
  7449. 0000512A  3F10                     move.w     -[A7], [A0]
  7450. 0000512C  4EAD E1A8                jsr        [A5 - 0x1E58]
  7451. 00005130  2C48                     movea.l    A6, A0
  7452. 00005132  200E                     move.l     D0, A6
  7453. 00005134  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7454. 00005138  6734                     beq        +0x36 /* 0000516E */
  7455. 0000513A  1F3C 0001                move.b     -[A7], 0x1
  7456. 0000513E  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7457. 00005142  4EAD E818                jsr        [A5 - 0x17E8]
  7458. 00005146  2848                     movea.l    A4, A0
  7459. 00005148  2F0E                     move.l     -[A7], A6
  7460. 0000514A  4EAD D9AC                jsr        [A5 - 0x2654]
  7461. 0000514E  201F                     move.l     D0, [A7]+
  7462. 00005150  2800                     move.l     D4, D0
  7463. 00005152  2656                     movea.l    A3, [A6]
  7464. 00005154  7600                     moveq.l    D3, 0x00
  7465. 00005156  544F                     addq.w     A7, 2
  7466. 00005158  6010                     bra        +0x12 /* 0000516A */
  7467. label0000515A:
  7468. 0000515A  2014                     move.l     D0, [A4]
  7469. 0000515C  B09B                     cmp.l      D0, [A3]+
  7470. 0000515E  6608                     bne        +0xA /* 00005168 */
  7471. 00005160  2483                     move.l     [A2], D3
  7472. 00005162  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  7473. 00005166  4E75                     rts
  7474. label00005168:
  7475. 00005168  5283                     addq.l     D3, 1
  7476. label0000516A:
  7477. 0000516A  B684                     cmp.l      D3, D4
  7478. 0000516C  6DEC                     blt        -0x12 /* 0000515A */
  7479. label0000516E:
  7480. 0000516E  70FF                     moveq.l    D0, 0xFFFFFFFF
  7481. 00005170  2480                     move.l     [A2], D0
  7482. 00005172  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  7483. 00005176  4E75                     rts
  7484. fn00005178:
  7485. 00005178  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  7486. 0000517C  246F 0018                movea.l    A2, [A7 + 0x18]
  7487. 00005180  266F 001C                movea.l    A3, [A7 + 0x1C]
  7488. 00005184  4AAA 0014                tst.l      [A2 + 0x14]
  7489. 00005188  6C16                     bge        +0x18 /* 000051A0 */
  7490. 0000518A  262A 001C                move.l     D3, [A2 + 0x1C]
  7491. 0000518E  282B 001C                move.l     D4, [A3 + 0x1C]
  7492. 00005192  4AAB 0008                tst.l      [A3 + 0x8]
  7493. 00005196  661E                     bne        +0x20 /* 000051B6 */
  7494. 00005198  7001                     moveq.l    D0, 0x01
  7495. 0000519A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  7496. 0000519E  4E75                     rts
  7497. label000051A0:
  7498. 000051A0  262B 001C                move.l     D3, [A3 + 0x1C]
  7499. 000051A4  282A 001C                move.l     D4, [A2 + 0x1C]
  7500. 000051A8  4AAA 0008                tst.l      [A2 + 0x8]
  7501. 000051AC  6608                     bne        +0xA /* 000051B6 */
  7502. 000051AE  70FF                     moveq.l    D0, 0xFFFFFFFF
  7503. 000051B0  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  7504. 000051B4  4E75                     rts
  7505. label000051B6:
  7506. 000051B6  4EAD E450                jsr        [A5 - 0x1BB0]
  7507. 000051BA  4A80                     tst.l      D0
  7508. 000051BC  673C                     beq        +0x3E /* 000051FA */
  7509. 000051BE  206A 0008                movea.l    A0, [A2 + 0x8]
  7510. 000051C2  A029                     syscall    HLock
  7511. 000051C4  206B 0008                movea.l    A0, [A3 + 0x8]
  7512. 000051C8  A029                     syscall    HLock
  7513. 000051CA  B684                     cmp.l      D3, D4
  7514. 000051CC  6E04                     bgt        +0x6 /* 000051D2 */
  7515. 000051CE  2003                     move.l     D0, D3
  7516. 000051D0  6002                     bra        +0x4 /* 000051D4 */
  7517. label000051D2:
  7518. 000051D2  2004                     move.l     D0, D4
  7519. label000051D4:
  7520. 000051D4  2F00                     move.l     -[A7], D0
  7521. 000051D6  206B 0008                movea.l    A0, [A3 + 0x8]
  7522. 000051DA  2F10                     move.l     -[A7], [A0]
  7523. 000051DC  206A 0008                movea.l    A0, [A2 + 0x8]
  7524. 000051E0  2F10                     move.l     -[A7], [A0]
  7525. 000051E2  4EAD E460                jsr        [A5 - 0x1BA0]
  7526. 000051E6  2A00                     move.l     D5, D0
  7527. 000051E8  206B 0008                movea.l    A0, [A3 + 0x8]
  7528. 000051EC  A02A                     syscall    HUnlock
  7529. 000051EE  206A 0008                movea.l    A0, [A2 + 0x8]
  7530. 000051F2  A02A                     syscall    HUnlock
  7531. 000051F4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7532. 000051F8  6022                     bra        +0x24 /* 0000521C */
  7533. label000051FA:
  7534. 000051FA  B684                     cmp.l      D3, D4
  7535. 000051FC  6E04                     bgt        +0x6 /* 00005202 */
  7536. 000051FE  2003                     move.l     D0, D3
  7537. 00005200  6002                     bra        +0x4 /* 00005204 */
  7538. label00005202:
  7539. 00005202  2004                     move.l     D0, D4
  7540. label00005204:
  7541. 00005204  2F00                     move.l     -[A7], D0
  7542. 00005206  206B 0008                movea.l    A0, [A3 + 0x8]
  7543. 0000520A  2F10                     move.l     -[A7], [A0]
  7544. 0000520C  206A 0008                movea.l    A0, [A2 + 0x8]
  7545. 00005210  2F10                     move.l     -[A7], [A0]
  7546. 00005212  4EAD E460                jsr        [A5 - 0x1BA0]
  7547. 00005216  2A00                     move.l     D5, D0
  7548. 00005218  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7549. label0000521C:
  7550. 0000521C  4A85                     tst.l      D5
  7551. 0000521E  6610                     bne        +0x12 /* 00005230 */
  7552. 00005220  B684                     cmp.l      D3, D4
  7553. 00005222  6E04                     bgt        +0x6 /* 00005228 */
  7554. 00005224  2005                     move.l     D0, D5
  7555. 00005226  6002                     bra        +0x4 /* 0000522A */
  7556. label00005228:
  7557. 00005228  7001                     moveq.l    D0, 0x01
  7558. label0000522A:
  7559. 0000522A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  7560. 0000522E  4E75                     rts
  7561. label00005230:
  7562. 00005230  2005                     move.l     D0, D5
  7563. 00005232  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  7564. 00005236  4E75                     rts
  7565. fn00005238:
  7566. 00005238  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  7567. 0000523C  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  7568. 00005240  2C6F 0038                movea.l    A6, [A7 + 0x38]
  7569. 00005244  246F 003C                movea.l    A2, [A7 + 0x3C]
  7570. 00005248  1A2F 0040                move.b     D5, [A7 + 0x40]
  7571. 0000524C  206E 0048                movea.l    A0, [A6 + 0x48]
  7572. 00005250  7600                     moveq.l    D3, 0x00
  7573. 00005252  1628 006F                move.b     D3, [A0 + 0x6F]
  7574. 00005256  594F                     subq.w     A7, 4
  7575. 00005258  A8D8                     syscall    NewRgn
  7576. 0000525A  205F                     movea.l    A0, [A7]+
  7577. 0000525C  2848                     movea.l    A4, A0
  7578. 0000525E  200C                     move.l     D0, A4
  7579. 00005260  6700 01EE                beq        +0x1F0 /* 00005450 */
  7580. 00005264  594F                     subq.w     A7, 4
  7581. 00005266  A8D8                     syscall    NewRgn
  7582. 00005268  205F                     movea.l    A0, [A7]+
  7583. 0000526A  2648                     movea.l    A3, A0
  7584. 0000526C  200B                     move.l     D0, A3
  7585. 0000526E  660E                     bne        +0x10 /* 0000527E */
  7586. 00005270  2F0C                     move.l     -[A7], A4
  7587. 00005272  A8D9                     syscall    DisposRgn/DisposeRgn
  7588. 00005274  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7589. 00005278  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  7590. 0000527C  4E75                     rts
  7591. label0000527E:
  7592. 0000527E  42A7                     clr.l      -[A7]
  7593. 00005280  4EAD DD50                jsr        [A5 - 0x22B0]
  7594. 00005284  486A 0018                pea.l      [A2 + 0x18]
  7595. 00005288  2F0E                     move.l     -[A7], A6
  7596. 0000528A  4EBA 13EE                jsr        [PC + 0x13EE /* 0000667A */]
  7597. 0000528E  2F0C                     move.l     -[A7], A4
  7598. 00005290  A87A                     syscall    GetClip
  7599. 00005292  0C05 0001                cmpi.b     D5, 0x1
  7600. 00005296  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7601. 0000529A  6700 00B6                beq        +0xB8 /* 00005352 */
  7602. 0000529E  4AAA 0070                tst.l      [A2 + 0x70]
  7603. 000052A2  6700 00AE                beq        +0xB0 /* 00005352 */
  7604. 000052A6  2F6A 0048 0010           move.l     [A7 + 0x10], [A2 + 0x48]
  7605. 000052AC  2F6A 004C 0014           move.l     [A7 + 0x14], [A2 + 0x4C]
  7606. 000052B2  4A2A 0069                tst.b      [A2 + 0x69]
  7607. 000052B6  6744                     beq        +0x46 /* 000052FC */
  7608. 000052B8  486F 0010                pea.l      [A7 + 0x10]
  7609. 000052BC  2F0A                     move.l     -[A7], A2
  7610. 000052BE  4EBA 1186                jsr        [PC + 0x1186 /* 00006446 */]
  7611. 000052C2  4480                     neg.l      D0
  7612. 000052C4  322A 0012                move.w     D1, [A2 + 0x12]
  7613. 000052C8  48C1                     ext.l      D1
  7614. 000052CA  D280                     add.l      D1, D0
  7615. 000052CC  584F                     addq.w     A7, 4
  7616. 000052CE  3F01                     move.w     -[A7], D1
  7617. 000052D0  2F0A                     move.l     -[A7], A2
  7618. 000052D2  4EBA 1190                jsr        [PC + 0x1190 /* 00006464 */]
  7619. 000052D6  4480                     neg.l      D0
  7620. 000052D8  322A 0010                move.w     D1, [A2 + 0x10]
  7621. 000052DC  48C1                     ext.l      D1
  7622. 000052DE  D280                     add.l      D1, D0
  7623. 000052E0  584F                     addq.w     A7, 4
  7624. 000052E2  3F01                     move.w     -[A7], D1
  7625. 000052E4  A8A8                     syscall    OffsetRect
  7626. 000052E6  7801                     moveq.l    D4, 0x01
  7627. 000052E8  4227                     clr.b      -[A7]
  7628. 000052EA  486F 000A                pea.l      [A7 + 0xA]
  7629. 000052EE  2F0A                     move.l     -[A7], A2
  7630. 000052F0  2F0E                     move.l     -[A7], A6
  7631. 000052F2  4EBA F8DC                jsr        [PC - 0x724 /* 00004BD0 */]
  7632. 000052F6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7633. 000052FA  6024                     bra        +0x26 /* 00005320 */
  7634. label000052FC:
  7635. 000052FC  486F 0010                pea.l      [A7 + 0x10]
  7636. 00005300  3F2A 0012                move.w     -[A7], [A2 + 0x12]
  7637. 00005304  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  7638. 00005308  A8A8                     syscall    OffsetRect
  7639. 0000530A  7802                     moveq.l    D4, 0x02
  7640. 0000530C  1F3C 0001                move.b     -[A7], 0x1
  7641. 00005310  486F 000A                pea.l      [A7 + 0xA]
  7642. 00005314  2F0A                     move.l     -[A7], A2
  7643. 00005316  2F0E                     move.l     -[A7], A6
  7644. 00005318  4EBA F8B6                jsr        [PC - 0x74A /* 00004BD0 */]
  7645. 0000531C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7646. label00005320:
  7647. 00005320  2F0B                     move.l     -[A7], A3
  7648. 00005322  486F 000C                pea.l      [A7 + 0xC]
  7649. 00005326  A8DF                     syscall    RectRgn
  7650. 00005328  2F0B                     move.l     -[A7], A3
  7651. 0000532A  2F0C                     move.l     -[A7], A4
  7652. 0000532C  2F0B                     move.l     -[A7], A3
  7653. 0000532E  A8E4                     syscall    SectRgn
  7654. 00005330  2F0B                     move.l     -[A7], A3
  7655. 00005332  A879                     syscall    SetClip
  7656. 00005334  4A83                     tst.l      D3
  7657. 00005336  670E                     beq        +0x10 /* 00005346 */
  7658. 00005338  42A7                     clr.l      -[A7]
  7659. 0000533A  486F 0014                pea.l      [A7 + 0x14]
  7660. 0000533E  4EBA 1CEE                jsr        [PC + 0x1CEE /* 0000702E */]
  7661. 00005342  504F                     addq.w     A7, 8
  7662. 00005344  600C                     bra        +0xE /* 00005352 */
  7663. label00005346:
  7664. 00005346  42A7                     clr.l      -[A7]
  7665. 00005348  486F 0014                pea.l      [A7 + 0x14]
  7666. 0000534C  4EBA 049C                jsr        [PC + 0x49C /* 000057EA */]
  7667. 00005350  504F                     addq.w     A7, 8
  7668. label00005352:
  7669. 00005352  4A05                     tst.b      D5
  7670. 00005354  6700 00DC                beq        +0xDE /* 00005432 */
  7671. 00005358  554F                     subq.w     A7, 2
  7672. 0000535A  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7673. 0000535E  A8E2                     syscall    EmptyRgn
  7674. 00005360  101F                     move.b     D0, [A7]+
  7675. 00005362  6600 00CE                bne        +0xD0 /* 00005432 */
  7676. 00005366  4AAA 008E                tst.l      [A2 + 0x8E]
  7677. 0000536A  6764                     beq        +0x66 /* 000053D0 */
  7678. 0000536C  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7679. 00005370  3F2A 0012                move.w     -[A7], [A2 + 0x12]
  7680. 00005374  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  7681. 00005378  A8E0                     syscall    OffsetRgn/OfsetRgn
  7682. 0000537A  1F3C 0001                move.b     -[A7], 0x1
  7683. 0000537E  486F 0002                pea.l      [A7 + 0x2]
  7684. 00005382  2F0A                     move.l     -[A7], A2
  7685. 00005384  2F0E                     move.l     -[A7], A6
  7686. 00005386  4EBA F848                jsr        [PC - 0x7B8 /* 00004BD0 */]
  7687. 0000538A  486F 000E                pea.l      [A7 + 0xE]
  7688. 0000538E  4EAD DD50                jsr        [A5 - 0x22B0]
  7689. 00005392  2F03                     move.l     -[A7], D3
  7690. 00005394  2F0A                     move.l     -[A7], A2
  7691. 00005396  4EBA 00C2                jsr        [PC + 0xC2 /* 0000545A */]
  7692. 0000539A  4EAD DD58                jsr        [A5 - 0x22A8]
  7693. 0000539E  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7694. 000053A2  302A 0012                move.w     D0, [A2 + 0x12]
  7695. 000053A6  48C0                     ext.l      D0
  7696. 000053A8  4480                     neg.l      D0
  7697. 000053AA  3F00                     move.w     -[A7], D0
  7698. 000053AC  302A 0010                move.w     D0, [A2 + 0x10]
  7699. 000053B0  48C0                     ext.l      D0
  7700. 000053B2  4480                     neg.l      D0
  7701. 000053B4  3F00                     move.w     -[A7], D0
  7702. 000053B6  A8E0                     syscall    OffsetRgn/OfsetRgn
  7703. 000053B8  2F0B                     move.l     -[A7], A3
  7704. 000053BA  486F 001E                pea.l      [A7 + 0x1E]
  7705. 000053BE  A8DF                     syscall    RectRgn
  7706. 000053C0  2F0C                     move.l     -[A7], A4
  7707. 000053C2  2F0B                     move.l     -[A7], A3
  7708. 000053C4  2F0B                     move.l     -[A7], A3
  7709. 000053C6  A8E6                     syscall    DiffRgn
  7710. 000053C8  2F0B                     move.l     -[A7], A3
  7711. 000053CA  A879                     syscall    SetClip
  7712. 000053CC  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  7713. label000053D0:
  7714. 000053D0  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7715. 000053D4  2F0A                     move.l     -[A7], A2
  7716. 000053D6  4EBA 106E                jsr        [PC + 0x106E /* 00006446 */]
  7717. 000053DA  4480                     neg.l      D0
  7718. 000053DC  322A 0012                move.w     D1, [A2 + 0x12]
  7719. 000053E0  48C1                     ext.l      D1
  7720. 000053E2  D280                     add.l      D1, D0
  7721. 000053E4  584F                     addq.w     A7, 4
  7722. 000053E6  3F01                     move.w     -[A7], D1
  7723. 000053E8  2F0A                     move.l     -[A7], A2
  7724. 000053EA  4EBA 1078                jsr        [PC + 0x1078 /* 00006464 */]
  7725. 000053EE  4480                     neg.l      D0
  7726. 000053F0  322A 0010                move.w     D1, [A2 + 0x10]
  7727. 000053F4  48C1                     ext.l      D1
  7728. 000053F6  D280                     add.l      D1, D0
  7729. 000053F8  584F                     addq.w     A7, 4
  7730. 000053FA  3F01                     move.w     -[A7], D1
  7731. 000053FC  A8E0                     syscall    OffsetRgn/OfsetRgn
  7732. 000053FE  2F03                     move.l     -[A7], D3
  7733. 00005400  2F0A                     move.l     -[A7], A2
  7734. 00005402  4EBA 0056                jsr        [PC + 0x56 /* 0000545A */]
  7735. 00005406  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7736. 0000540A  2F0A                     move.l     -[A7], A2
  7737. 0000540C  4EBA 1038                jsr        [PC + 0x1038 /* 00006446 */]
  7738. 00005410  322A 0012                move.w     D1, [A2 + 0x12]
  7739. 00005414  48C1                     ext.l      D1
  7740. 00005416  9081                     sub.l      D0, D1
  7741. 00005418  584F                     addq.w     A7, 4
  7742. 0000541A  3F00                     move.w     -[A7], D0
  7743. 0000541C  2F0A                     move.l     -[A7], A2
  7744. 0000541E  4EBA 1044                jsr        [PC + 0x1044 /* 00006464 */]
  7745. 00005422  322A 0010                move.w     D1, [A2 + 0x10]
  7746. 00005426  48C1                     ext.l      D1
  7747. 00005428  9081                     sub.l      D0, D1
  7748. 0000542A  584F                     addq.w     A7, 4
  7749. 0000542C  3F00                     move.w     -[A7], D0
  7750. 0000542E  A8E0                     syscall    OffsetRgn/OfsetRgn
  7751. 00005430  504F                     addq.w     A7, 8
  7752. label00005432:
  7753. 00005432  4AAA 009E                tst.l      [A2 + 0x9E]
  7754. 00005436  670C                     beq        +0xE /* 00005444 */
  7755. 00005438  2F0E                     move.l     -[A7], A6
  7756. 0000543A  2F2A 009E                move.l     -[A7], [A2 + 0x9E]
  7757. 0000543E  4EAD E590                jsr        [A5 - 0x1A70]
  7758. 00005442  504F                     addq.w     A7, 8
  7759. label00005444:
  7760. 00005444  4EAD DD58                jsr        [A5 - 0x22A8]
  7761. 00005448  2F0C                     move.l     -[A7], A4
  7762. 0000544A  A8D9                     syscall    DisposRgn/DisposeRgn
  7763. 0000544C  2F0B                     move.l     -[A7], A3
  7764. 0000544E  A8D9                     syscall    DisposRgn/DisposeRgn
  7765. label00005450:
  7766. 00005450  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7767. 00005454  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  7768. 00005458  4E75                     rts
  7769. fn0000545A:
  7770. 0000545A  4AAF 0008                tst.l      [A7 + 0x8]
  7771. 0000545E  6712                     beq        +0x14 /* 00005472 */
  7772. 00005460  206F 0004                movea.l    A0, [A7 + 0x4]
  7773. 00005464  2F28 0076                move.l     -[A7], [A0 + 0x76]
  7774. 00005468  42A7                     clr.l      -[A7]
  7775. 0000546A  4EBA 1BC2                jsr        [PC + 0x1BC2 /* 0000702E */]
  7776. 0000546E  504F                     addq.w     A7, 8
  7777. 00005470  6010                     bra        +0x12 /* 00005482 */
  7778. label00005472:
  7779. 00005472  206F 0004                movea.l    A0, [A7 + 0x4]
  7780. 00005476  2F28 0076                move.l     -[A7], [A0 + 0x76]
  7781. 0000547A  42A7                     clr.l      -[A7]
  7782. 0000547C  4EBA 036C                jsr        [PC + 0x36C /* 000057EA */]
  7783. 00005480  504F                     addq.w     A7, 8
  7784. label00005482:
  7785. 00005482  4E75                     rts
  7786. fn00005484:
  7787. 00005484  48E7 1030                movem.l    -[A7], D3,A2,A3
  7788. 00005488  514F                     subq.w     A7, 8
  7789. 0000548A  246F 001C                movea.l    A2, [A7 + 0x1C]
  7790. 0000548E  162F 0020                move.b     D3, [A7 + 0x20]
  7791. 00005492  4A03                     tst.b      D3
  7792. 00005494  660C                     bne        +0xE /* 000054A2 */
  7793. 00005496  2EAA 0048                move.l     [A7], [A2 + 0x48]
  7794. 0000549A  2F6A 004C 0004           move.l     [A7 + 0x4], [A2 + 0x4C]
  7795. 000054A0  6010                     bra        +0x12 /* 000054B2 */
  7796. label000054A2:
  7797. 000054A2  266A 0076                movea.l    A3, [A2 + 0x76]
  7798. 000054A6  2653                     movea.l    A3, [A3]
  7799. 000054A8  548B                     addq.l     A3, 2
  7800. 000054AA  2E93                     move.l     [A7], [A3]
  7801. 000054AC  2F6B 0004 0004           move.l     [A7 + 0x4], [A3 + 0x4]
  7802. label000054B2:
  7803. 000054B2  554F                     subq.w     A7, 2
  7804. 000054B4  486F 0002                pea.l      [A7 + 0x2]
  7805. 000054B8  A8AE                     syscall    EmptyRect
  7806. 000054BA  101F                     move.b     D0, [A7]+
  7807. 000054BC  6670                     bne        +0x72 /* 0000552E */
  7808. 000054BE  4A03                     tst.b      D3
  7809. 000054C0  6606                     bne        +0x8 /* 000054C8 */
  7810. 000054C2  4A2A 0069                tst.b      [A2 + 0x69]
  7811. 000054C6  672E                     beq        +0x30 /* 000054F6 */
  7812. label000054C8:
  7813. 000054C8  4857                     pea.l      [A7]
  7814. 000054CA  2F0A                     move.l     -[A7], A2
  7815. 000054CC  4EBA 0F78                jsr        [PC + 0xF78 /* 00006446 */]
  7816. 000054D0  4480                     neg.l      D0
  7817. 000054D2  322A 0012                move.w     D1, [A2 + 0x12]
  7818. 000054D6  48C1                     ext.l      D1
  7819. 000054D8  D280                     add.l      D1, D0
  7820. 000054DA  584F                     addq.w     A7, 4
  7821. 000054DC  3F01                     move.w     -[A7], D1
  7822. 000054DE  2F0A                     move.l     -[A7], A2
  7823. 000054E0  4EBA 0F82                jsr        [PC + 0xF82 /* 00006464 */]
  7824. 000054E4  4480                     neg.l      D0
  7825. 000054E6  322A 0010                move.w     D1, [A2 + 0x10]
  7826. 000054EA  48C1                     ext.l      D1
  7827. 000054EC  D280                     add.l      D1, D0
  7828. 000054EE  584F                     addq.w     A7, 4
  7829. 000054F0  3F01                     move.w     -[A7], D1
  7830. 000054F2  A8A8                     syscall    OffsetRect
  7831. 000054F4  600A                     bra        +0xC /* 00005500 */
  7832. label000054F6:
  7833. 000054F6  4857                     pea.l      [A7]
  7834. 000054F8  4267                     clr.w      -[A7]
  7835. 000054FA  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  7836. 000054FE  A8A8                     syscall    OffsetRect
  7837. label00005500:
  7838. 00005500  4AAF 0022                tst.l      [A7 + 0x22]
  7839. 00005504  670C                     beq        +0xE /* 00005512 */
  7840. 00005506  0C03 0001                cmpi.b     D3, 0x1
  7841. 0000550A  6606                     bne        +0x8 /* 00005512 */
  7842. 0000550C  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  7843. 00005510  A8DD                     syscall    SetEmptyRgn
  7844. label00005512:
  7845. 00005512  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  7846. 00005516  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  7847. 0000551A  42A7                     clr.l      -[A7]
  7848. 0000551C  486F 000C                pea.l      [A7 + 0xC]
  7849. 00005520  2F0A                     move.l     -[A7], A2
  7850. 00005522  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  7851. 00005526  4EBA 000E                jsr        [PC + 0xE /* 00005536 */]
  7852. 0000552A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7853. label0000552E:
  7854. 0000552E  504F                     addq.w     A7, 8
  7855. 00005530  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7856. 00005534  4E75                     rts
  7857. fn00005536:
  7858. 00005536  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  7859. 0000553A  514F                     subq.w     A7, 8
  7860. 0000553C  286F 0024                movea.l    A4, [A7 + 0x24]
  7861. 00005540  266F 0028                movea.l    A3, [A7 + 0x28]
  7862. 00005544  246F 002C                movea.l    A2, [A7 + 0x2C]
  7863. 00005548  2A2F 0030                move.l     D5, [A7 + 0x30]
  7864. 0000554C  282F 0034                move.l     D4, [A7 + 0x34]
  7865. 00005550  4AAB 0096                tst.l      [A3 + 0x96]
  7866. 00005554  6706                     beq        +0x8 /* 0000555C */
  7867. 00005556  4AAB 009A                tst.l      [A3 + 0x9A]
  7868. 0000555A  6608                     bne        +0xA /* 00005564 */
  7869. label0000555C:
  7870. 0000555C  504F                     addq.w     A7, 8
  7871. 0000555E  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  7872. 00005562  4E75                     rts
  7873. label00005564:
  7874. 00005564  4227                     clr.b      -[A7]
  7875. 00005566  486F 0002                pea.l      [A7 + 0x2]
  7876. 0000556A  2F0B                     move.l     -[A7], A3
  7877. 0000556C  2F0C                     move.l     -[A7], A4
  7878. 0000556E  4EBA F660                jsr        [PC - 0x9A0 /* 00004BD0 */]
  7879. 00005572  4A84                     tst.l      D4
  7880. 00005574  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7881. 00005578  662A                     bne        +0x2C /* 000055A4 */
  7882. 0000557A  200A                     move.l     D0, A2
  7883. 0000557C  6726                     beq        +0x28 /* 000055A4 */
  7884. 0000557E  3012                     move.w     D0, [A2]
  7885. 00005580  B057                     cmp.w      D0, [A7]
  7886. 00005582  6D20                     blt        +0x22 /* 000055A4 */
  7887. 00005584  302A 0004                move.w     D0, [A2 + 0x4]
  7888. 00005588  B06F 0004                cmp.w      D0, [A7 + 0x4]
  7889. 0000558C  6E16                     bgt        +0x18 /* 000055A4 */
  7890. 0000558E  302A 0002                move.w     D0, [A2 + 0x2]
  7891. 00005592  B06F 0002                cmp.w      D0, [A7 + 0x2]
  7892. 00005596  6D0C                     blt        +0xE /* 000055A4 */
  7893. 00005598  302A 0006                move.w     D0, [A2 + 0x6]
  7894. 0000559C  B06F 0006                cmp.w      D0, [A7 + 0x6]
  7895. 000055A0  6F00 00D2                ble        +0xD4 /* 00005674 */
  7896. label000055A4:
  7897. 000055A4  200A                     move.l     D0, A2
  7898. 000055A6  674E                     beq        +0x50 /* 000055F6 */
  7899. 000055A8  302A 0002                move.w     D0, [A2 + 0x2]
  7900. 000055AC  B06F 0002                cmp.w      D0, [A7 + 0x2]
  7901. 000055B0  6D0A                     blt        +0xC /* 000055BC */
  7902. 000055B2  302A 0006                move.w     D0, [A2 + 0x6]
  7903. 000055B6  B06F 0006                cmp.w      D0, [A7 + 0x6]
  7904. 000055BA  6F12                     ble        +0x14 /* 000055CE */
  7905. label000055BC:
  7906. 000055BC  302F 0002                move.w     D0, [A7 + 0x2]
  7907. 000055C0  48C0                     ext.l      D0
  7908. 000055C2  362A 0002                move.w     D3, [A2 + 0x2]
  7909. 000055C6  48C3                     ext.l      D3
  7910. 000055C8  9680                     sub.l      D3, D0
  7911. 000055CA  9685                     sub.l      D3, D5
  7912. 000055CC  6002                     bra        +0x4 /* 000055D0 */
  7913. label000055CE:
  7914. 000055CE  7600                     moveq.l    D3, 0x00
  7915. label000055D0:
  7916. 000055D0  4A84                     tst.l      D4
  7917. 000055D2  6610                     bne        +0x12 /* 000055E4 */
  7918. 000055D4  3012                     move.w     D0, [A2]
  7919. 000055D6  B057                     cmp.w      D0, [A7]
  7920. 000055D8  6D0A                     blt        +0xC /* 000055E4 */
  7921. 000055DA  302A 0004                move.w     D0, [A2 + 0x4]
  7922. 000055DE  B06F 0004                cmp.w      D0, [A7 + 0x4]
  7923. 000055E2  6F0E                     ble        +0x10 /* 000055F2 */
  7924. label000055E4:
  7925. 000055E4  3017                     move.w     D0, [A7]
  7926. 000055E6  48C0                     ext.l      D0
  7927. 000055E8  3812                     move.w     D4, [A2]
  7928. 000055EA  48C4                     ext.l      D4
  7929. 000055EC  9880                     sub.l      D4, D0
  7930. 000055EE  9885                     sub.l      D4, D5
  7931. 000055F0  601A                     bra        +0x1C /* 0000560C */
  7932. label000055F2:
  7933. 000055F2  7800                     moveq.l    D4, 0x00
  7934. 000055F4  6016                     bra        +0x18 /* 0000560C */
  7935. label000055F6:
  7936. 000055F6  2F0B                     move.l     -[A7], A3
  7937. 000055F8  4EBA 0E4C                jsr        [PC + 0xE4C /* 00006446 */]
  7938. 000055FC  4480                     neg.l      D0
  7939. 000055FE  2600                     move.l     D3, D0
  7940. 00005600  2F0B                     move.l     -[A7], A3
  7941. 00005602  4EBA 0E60                jsr        [PC + 0xE60 /* 00006464 */]
  7942. 00005606  4480                     neg.l      D0
  7943. 00005608  2800                     move.l     D4, D0
  7944. 0000560A  504F                     addq.w     A7, 8
  7945. label0000560C:
  7946. 0000560C  2F03                     move.l     -[A7], D3
  7947. 0000560E  2F2B 0096                move.l     -[A7], [A3 + 0x96]
  7948. 00005612  4EBA 0068                jsr        [PC + 0x68 /* 0000567C */]
  7949. 00005616  2600                     move.l     D3, D0
  7950. 00005618  2F04                     move.l     -[A7], D4
  7951. 0000561A  2F2B 009A                move.l     -[A7], [A3 + 0x9A]
  7952. 0000561E  4EBA 005C                jsr        [PC + 0x5C /* 0000567C */]
  7953. 00005622  2800                     move.l     D4, D0
  7954. 00005624  4A83                     tst.l      D3
  7955. 00005626  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7956. 0000562A  6604                     bne        +0x6 /* 00005630 */
  7957. 0000562C  4A84                     tst.l      D4
  7958. 0000562E  6744                     beq        +0x46 /* 00005674 */
  7959. label00005630:
  7960. 00005630  2F0B                     move.l     -[A7], A3
  7961. 00005632  4EBA 0E12                jsr        [PC + 0xE12 /* 00006446 */]
  7962. 00005636  D083                     add.l      D0, D3
  7963. 00005638  584F                     addq.w     A7, 4
  7964. 0000563A  2F00                     move.l     -[A7], D0
  7965. 0000563C  2F2B 0096                move.l     -[A7], [A3 + 0x96]
  7966. 00005640  4EBA C5EC                jsr        [PC - 0x3A14 /* 00001C2E */]
  7967. 00005644  2F0B                     move.l     -[A7], A3
  7968. 00005646  4EBA 0E1C                jsr        [PC + 0xE1C /* 00006464 */]
  7969. 0000564A  D084                     add.l      D0, D4
  7970. 0000564C  584F                     addq.w     A7, 4
  7971. 0000564E  2F00                     move.l     -[A7], D0
  7972. 00005650  2F2B 009A                move.l     -[A7], [A3 + 0x9A]
  7973. 00005654  4EBA C5D8                jsr        [PC - 0x3A28 /* 00001C2E */]
  7974. 00005658  2F2F 0048                move.l     -[A7], [A7 + 0x48]
  7975. 0000565C  2004                     move.l     D0, D4
  7976. 0000565E  4480                     neg.l      D0
  7977. 00005660  2F00                     move.l     -[A7], D0
  7978. 00005662  2003                     move.l     D0, D3
  7979. 00005664  4480                     neg.l      D0
  7980. 00005666  2F00                     move.l     -[A7], D0
  7981. 00005668  2F0B                     move.l     -[A7], A3
  7982. 0000566A  2F0C                     move.l     -[A7], A4
  7983. 0000566C  4EBA 0058                jsr        [PC + 0x58 /* 000056C6 */]
  7984. 00005670  4FEF 0024                lea.l      A7, [A7 + 0x24]
  7985. label00005674:
  7986. 00005674  504F                     addq.w     A7, 8
  7987. 00005676  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  7988. 0000567A  4E75                     rts
  7989. fn0000567C:
  7990. 0000567C  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  7991. 00005680  246F 0018                movea.l    A2, [A7 + 0x18]
  7992. 00005684  282F 001C                move.l     D4, [A7 + 0x1C]
  7993. 00005688  2F0A                     move.l     -[A7], A2
  7994. 0000568A  4EBA C55A                jsr        [PC - 0x3AA6 /* 00001BE6 */]
  7995. 0000568E  2A00                     move.l     D5, D0
  7996. 00005690  2F0A                     move.l     -[A7], A2
  7997. 00005692  A961                     syscall    GetControlMinimum/GetMinCtl
  7998. 00005694  301F                     move.w     D0, [A7]+
  7999. 00005696  48C0                     ext.l      D0
  8000. 00005698  2C00                     move.l     D6, D0
  8001. 0000569A  2F0A                     move.l     -[A7], A2
  8002. 0000569C  4EBA C56C                jsr        [PC - 0x3A94 /* 00001C0A */]
  8003. 000056A0  2600                     move.l     D3, D0
  8004. 000056A2  2004                     move.l     D0, D4
  8005. 000056A4  D083                     add.l      D0, D3
  8006. 000056A6  B085                     cmp.l      D0, D5
  8007. 000056A8  5C4F                     addq.w     A7, 6
  8008. 000056AA  6F06                     ble        +0x8 /* 000056B2 */
  8009. 000056AC  2805                     move.l     D4, D5
  8010. 000056AE  9883                     sub.l      D4, D3
  8011. 000056B0  600C                     bra        +0xE /* 000056BE */
  8012. label000056B2:
  8013. 000056B2  2004                     move.l     D0, D4
  8014. 000056B4  D083                     add.l      D0, D3
  8015. 000056B6  B086                     cmp.l      D0, D6
  8016. 000056B8  6C04                     bge        +0x6 /* 000056BE */
  8017. 000056BA  2806                     move.l     D4, D6
  8018. 000056BC  9883                     sub.l      D4, D3
  8019. label000056BE:
  8020. 000056BE  2004                     move.l     D0, D4
  8021. 000056C0  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  8022. 000056C4  4E75                     rts
  8023. fn000056C6:
  8024. 000056C6  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  8025. 000056CA  514F                     subq.w     A7, 8
  8026. 000056CC  266F 0024                movea.l    A3, [A7 + 0x24]
  8027. 000056D0  246F 0028                movea.l    A2, [A7 + 0x28]
  8028. 000056D4  282F 002C                move.l     D4, [A7 + 0x2C]
  8029. 000056D8  262F 0030                move.l     D3, [A7 + 0x30]
  8030. 000056DC  4AAA 0092                tst.l      [A2 + 0x92]
  8031. 000056E0  6700 0100                beq        +0x102 /* 000057E2 */
  8032. 000056E4  594F                     subq.w     A7, 4
  8033. 000056E6  A8D8                     syscall    NewRgn
  8034. 000056E8  205F                     movea.l    A0, [A7]+
  8035. 000056EA  2848                     movea.l    A4, A0
  8036. 000056EC  2008                     move.l     D0, A0
  8037. 000056EE  6700 00F2                beq        +0xF4 /* 000057E2 */
  8038. 000056F2  594F                     subq.w     A7, 4
  8039. 000056F4  A8D8                     syscall    NewRgn
  8040. 000056F6  205F                     movea.l    A0, [A7]+
  8041. 000056F8  2C48                     movea.l    A6, A0
  8042. 000056FA  200E                     move.l     D0, A6
  8043. 000056FC  660C                     bne        +0xE /* 0000570A */
  8044. 000056FE  2F0C                     move.l     -[A7], A4
  8045. 00005700  A8D9                     syscall    DisposRgn/DisposeRgn
  8046. 00005702  504F                     addq.w     A7, 8
  8047. 00005704  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  8048. 00005708  4E75                     rts
  8049. label0000570A:
  8050. 0000570A  2EAA 0018                move.l     [A7], [A2 + 0x18]
  8051. 0000570E  2F6A 001C 0004           move.l     [A7 + 0x4], [A2 + 0x1C]
  8052. 00005714  4AAA 008E                tst.l      [A2 + 0x8E]
  8053. 00005718  670C                     beq        +0xE /* 00005726 */
  8054. 0000571A  206A 008E                movea.l    A0, [A2 + 0x8E]
  8055. 0000571E  2050                     movea.l    A0, [A0]
  8056. 00005720  3028 0006                move.w     D0, [A0 + 0x6]
  8057. 00005724  D157                     add.w      [A7], D0
  8058. label00005726:
  8059. 00005726  4EAD DD70                jsr        [A5 - 0x2290]
  8060. 0000572A  1F3C 0001                move.b     -[A7], 0x1
  8061. 0000572E  2F0A                     move.l     -[A7], A2
  8062. 00005730  2F0B                     move.l     -[A7], A3
  8063. 00005732  4EBA 12AE                jsr        [PC + 0x12AE /* 000069E2 */]
  8064. 00005736  2F04                     move.l     -[A7], D4
  8065. 00005738  4EAD D92E                jsr        [A5 - 0x26D2]
  8066. 0000573C  0C80 0000 7FFF           cmpi.l     D0, 0x7FFF
  8067. 00005742  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8068. 00005746  6E10                     bgt        +0x12 /* 00005758 */
  8069. 00005748  2F03                     move.l     -[A7], D3
  8070. 0000574A  4EAD D92E                jsr        [A5 - 0x26D2]
  8071. 0000574E  0C80 0000 7FFF           cmpi.l     D0, 0x7FFF
  8072. 00005754  584F                     addq.w     A7, 4
  8073. 00005756  6F0E                     ble        +0x10 /* 00005766 */
  8074. label00005758:
  8075. 00005758  4857                     pea.l      [A7]
  8076. 0000575A  A8A3                     syscall    EraseRect
  8077. 0000575C  2F0C                     move.l     -[A7], A4
  8078. 0000575E  486F 0004                pea.l      [A7 + 0x4]
  8079. 00005762  A8DF                     syscall    RectRgn
  8080. 00005764  600A                     bra        +0xC /* 00005770 */
  8081. label00005766:
  8082. 00005766  4857                     pea.l      [A7]
  8083. 00005768  3F04                     move.w     -[A7], D4
  8084. 0000576A  3F03                     move.w     -[A7], D3
  8085. 0000576C  2F0C                     move.l     -[A7], A4
  8086. 0000576E  A8EF                     syscall    ScrollRect
  8087. label00005770:
  8088. 00005770  4EAD DD78                jsr        [A5 - 0x2288]
  8089. 00005774  3F03                     move.w     -[A7], D3
  8090. 00005776  3F04                     move.w     -[A7], D4
  8091. 00005778  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  8092. 0000577C  4EAD DCF0                jsr        [A5 - 0x2310]
  8093. 00005780  2F0A                     move.l     -[A7], A2
  8094. 00005782  2F0B                     move.l     -[A7], A3
  8095. 00005784  4EBA 1ACA                jsr        [PC + 0x1ACA /* 00007250 */]
  8096. 00005788  2F0C                     move.l     -[A7], A4
  8097. 0000578A  A927                     syscall    InvalRgn
  8098. 0000578C  4AAF 0044                tst.l      [A7 + 0x44]
  8099. 00005790  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8100. 00005794  6744                     beq        +0x46 /* 000057DA */
  8101. 00005796  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  8102. 0000579A  A922                     syscall    BeginUpdate
  8103. 0000579C  206B 0048                movea.l    A0, [A3 + 0x48]
  8104. 000057A0  2F28 0018                move.l     -[A7], [A0 + 0x18]
  8105. 000057A4  2F0E                     move.l     -[A7], A6
  8106. 000057A6  A8DC                     syscall    CopyRgn
  8107. 000057A8  2F0A                     move.l     -[A7], A2
  8108. 000057AA  2F0B                     move.l     -[A7], A3
  8109. 000057AC  4EBA F5EA                jsr        [PC - 0xA16 /* 00004D98 */]
  8110. 000057B0  1F3C 0002                move.b     -[A7], 0x2
  8111. 000057B4  2F0A                     move.l     -[A7], A2
  8112. 000057B6  2F0B                     move.l     -[A7], A3
  8113. 000057B8  4EBA FA7E                jsr        [PC - 0x582 /* 00005238 */]
  8114. 000057BC  2F0A                     move.l     -[A7], A2
  8115. 000057BE  2F0B                     move.l     -[A7], A3
  8116. 000057C0  4EBA 0F2C                jsr        [PC + 0xF2C /* 000066EE */]
  8117. 000057C4  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  8118. 000057C8  A923                     syscall    EndUpdate
  8119. 000057CA  2F0E                     move.l     -[A7], A6
  8120. 000057CC  2F0C                     move.l     -[A7], A4
  8121. 000057CE  2F0E                     move.l     -[A7], A6
  8122. 000057D0  A8E6                     syscall    DiffRgn
  8123. 000057D2  2F0E                     move.l     -[A7], A6
  8124. 000057D4  A927                     syscall    InvalRgn
  8125. 000057D6  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  8126. label000057DA:
  8127. 000057DA  2F0E                     move.l     -[A7], A6
  8128. 000057DC  A8D9                     syscall    DisposRgn/DisposeRgn
  8129. 000057DE  2F0C                     move.l     -[A7], A4
  8130. 000057E0  A8D9                     syscall    DisposRgn/DisposeRgn
  8131. label000057E2:
  8132. 000057E2  504F                     addq.w     A7, 8
  8133. 000057E4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  8134. 000057E8  4E75                     rts
  8135. fn000057EA:
  8136. 000057EA  48E7 0038                movem.l    -[A7], A2,A3,A4
  8137. 000057EE  514F                     subq.w     A7, 8
  8138. 000057F0  286F 001C                movea.l    A4, [A7 + 0x1C]
  8139. 000057F4  594F                     subq.w     A7, 4
  8140. 000057F6  A8D8                     syscall    NewRgn
  8141. 000057F8  205F                     movea.l    A0, [A7]+
  8142. 000057FA  2448                     movea.l    A2, A0
  8143. 000057FC  2008                     move.l     D0, A0
  8144. 000057FE  6774                     beq        +0x76 /* 00005874 */
  8145. 00005800  594F                     subq.w     A7, 4
  8146. 00005802  A8D8                     syscall    NewRgn
  8147. 00005804  205F                     movea.l    A0, [A7]+
  8148. 00005806  2648                     movea.l    A3, A0
  8149. 00005808  2008                     move.l     D0, A0
  8150. 0000580A  660C                     bne        +0xE /* 00005818 */
  8151. 0000580C  2F0A                     move.l     -[A7], A2
  8152. 0000580E  A8D9                     syscall    DisposRgn/DisposeRgn
  8153. 00005810  504F                     addq.w     A7, 8
  8154. 00005812  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8155. 00005816  4E75                     rts
  8156. label00005818:
  8157. 00005818  200C                     move.l     D0, A4
  8158. 0000581A  6710                     beq        +0x12 /* 0000582C */
  8159. 0000581C  2F0C                     move.l     -[A7], A4
  8160. 0000581E  2F0A                     move.l     -[A7], A2
  8161. 00005820  A8DC                     syscall    CopyRgn
  8162. 00005822  2F0A                     move.l     -[A7], A2
  8163. 00005824  4878 FFFF                push.l     0xFFFF
  8164. 00005828  A8E1                     syscall    InsetRgn
  8165. 0000582A  601E                     bra        +0x20 /* 0000584A */
  8166. label0000582C:
  8167. 0000582C  206F 0018                movea.l    A0, [A7 + 0x18]
  8168. 00005830  2E90                     move.l     [A7], [A0]
  8169. 00005832  2F68 0004 0004           move.l     [A7 + 0x4], [A0 + 0x4]
  8170. 00005838  4857                     pea.l      [A7]
  8171. 0000583A  2F3C 0001 0001           move.l     -[A7], 0x10001
  8172. 00005840  A8A9                     syscall    InsetRect
  8173. 00005842  2F0A                     move.l     -[A7], A2
  8174. 00005844  486F 0004                pea.l      [A7 + 0x4]
  8175. 00005848  A8DF                     syscall    RectRgn
  8176. label0000584A:
  8177. 0000584A  2F0A                     move.l     -[A7], A2
  8178. 0000584C  2F0B                     move.l     -[A7], A3
  8179. 0000584E  A8DC                     syscall    CopyRgn
  8180. 00005850  2F0B                     move.l     -[A7], A3
  8181. 00005852  2F3C 0001 0001           move.l     -[A7], 0x10001
  8182. 00005858  A8E1                     syscall    InsetRgn
  8183. 0000585A  2F0A                     move.l     -[A7], A2
  8184. 0000585C  2F0B                     move.l     -[A7], A3
  8185. 0000585E  2F0B                     move.l     -[A7], A3
  8186. 00005860  A8E6                     syscall    DiffRgn
  8187. 00005862  2F0B                     move.l     -[A7], A3
  8188. 00005864  42A7                     clr.l      -[A7]
  8189. 00005866  4EBA 17C6                jsr        [PC + 0x17C6 /* 0000702E */]
  8190. 0000586A  2F0A                     move.l     -[A7], A2
  8191. 0000586C  A8D9                     syscall    DisposRgn/DisposeRgn
  8192. 0000586E  2F0B                     move.l     -[A7], A3
  8193. 00005870  A8D9                     syscall    DisposRgn/DisposeRgn
  8194. 00005872  504F                     addq.w     A7, 8
  8195. label00005874:
  8196. 00005874  504F                     addq.w     A7, 8
  8197. 00005876  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8198. 0000587A  4E75                     rts
  8199. fn0000587C:
  8200. 0000587C  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  8201. 00005880  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  8202. 00005884  246F 0028                movea.l    A2, [A7 + 0x28]
  8203. 00005888  266F 002C                movea.l    A3, [A7 + 0x2C]
  8204. 0000588C  2C6F 0030                movea.l    A6, [A7 + 0x30]
  8205. 00005890  4AAF 0034                tst.l      [A7 + 0x34]
  8206. 00005894  6746                     beq        +0x48 /* 000058DC */
  8207. 00005896  2F0B                     move.l     -[A7], A3
  8208. 00005898  2F0A                     move.l     -[A7], A2
  8209. 0000589A  4EBA 0BAA                jsr        [PC + 0xBAA /* 00006446 */]
  8210. 0000589E  4480                     neg.l      D0
  8211. 000058A0  322A 0012                move.w     D1, [A2 + 0x12]
  8212. 000058A4  48C1                     ext.l      D1
  8213. 000058A6  D280                     add.l      D1, D0
  8214. 000058A8  584F                     addq.w     A7, 4
  8215. 000058AA  3F01                     move.w     -[A7], D1
  8216. 000058AC  2F0A                     move.l     -[A7], A2
  8217. 000058AE  4EBA 0BB4                jsr        [PC + 0xBB4 /* 00006464 */]
  8218. 000058B2  4480                     neg.l      D0
  8219. 000058B4  322A 0010                move.w     D1, [A2 + 0x10]
  8220. 000058B8  48C1                     ext.l      D1
  8221. 000058BA  D280                     add.l      D1, D0
  8222. 000058BC  584F                     addq.w     A7, 4
  8223. 000058BE  3F01                     move.w     -[A7], D1
  8224. 000058C0  A8A8                     syscall    OffsetRect
  8225. 000058C2  4227                     clr.b      -[A7]
  8226. 000058C4  486F 000A                pea.l      [A7 + 0xA]
  8227. 000058C8  2F0A                     move.l     -[A7], A2
  8228. 000058CA  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  8229. 000058CE  4EBA F300                jsr        [PC - 0xD00 /* 00004BD0 */]
  8230. 000058D2  49EF 0016                lea.l      A4, [A7 + 0x16]
  8231. 000058D6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8232. 000058DA  6012                     bra        +0x14 /* 000058EE */
  8233. label000058DC:
  8234. 000058DC  2F0B                     move.l     -[A7], A3
  8235. 000058DE  3F2A 0012                move.w     -[A7], [A2 + 0x12]
  8236. 000058E2  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  8237. 000058E6  A8A8                     syscall    OffsetRect
  8238. 000058E8  284A                     movea.l    A4, A2
  8239. 000058EA  49EC 0018                lea.l      A4, [A4 + 0x18]
  8240. label000058EE:
  8241. 000058EE  2E94                     move.l     [A7], [A4]
  8242. 000058F0  2F6C 0004 0004           move.l     [A7 + 0x4], [A4 + 0x4]
  8243. 000058F6  554F                     subq.w     A7, 2
  8244. 000058F8  486F 0002                pea.l      [A7 + 0x2]
  8245. 000058FC  2F0B                     move.l     -[A7], A3
  8246. 000058FE  2F0B                     move.l     -[A7], A3
  8247. 00005900  A8AA                     syscall    SectRect
  8248. 00005902  101F                     move.b     D0, [A7]+
  8249. 00005904  200E                     move.l     D0, A6
  8250. 00005906  670A                     beq        +0xC /* 00005912 */
  8251. 00005908  2CAA 0018                move.l     [A6], [A2 + 0x18]
  8252. 0000590C  2D6A 001C 0004           move.l     [A6 + 0x4], [A2 + 0x1C]
  8253. label00005912:
  8254. 00005912  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8255. 00005916  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  8256. 0000591A  4E75                     rts
  8257. fn0000591C:
  8258. 0000591C  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  8259. 00005920  286F 0020                movea.l    A4, [A7 + 0x20]
  8260. 00005924  2C6F 0024                movea.l    A6, [A7 + 0x24]
  8261. 00005928  266F 0028                movea.l    A3, [A7 + 0x28]
  8262. 0000592C  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  8263. 00005930  4EAD E848                jsr        [A5 - 0x17B8]
  8264. 00005934  1600                     move.b     D3, D0
  8265. 00005936  200B                     move.l     D0, A3
  8266. 00005938  584F                     addq.w     A7, 4
  8267. 0000593A  6614                     bne        +0x16 /* 00005950 */
  8268. 0000593C  0C03 0001                cmpi.b     D3, 0x1
  8269. 00005940  6608                     bne        +0xA /* 0000594A */
  8270. 00005942  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  8271. 00005946  4EAD DF80                jsr        [A5 - 0x2080]
  8272. label0000594A:
  8273. 0000594A  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8274. 0000594E  4E75                     rts
  8275. label00005950:
  8276. 00005950  594F                     subq.w     A7, 4
  8277. 00005952  2F0B                     move.l     -[A7], A3
  8278. 00005954  4EAD D9AC                jsr        [A5 - 0x2654]
  8279. 00005958  201F                     move.l     D0, [A7]+
  8280. 0000595A  7224                     moveq.l    D1, 0x24
  8281. 0000595C  4EAD D8FE                jsr        [A5 - 0x2702]
  8282. 00005960  2A00                     move.l     D5, D0
  8283. 00005962  204B                     movea.l    A0, A3
  8284. 00005964  A029                     syscall    HLock
  8285. 00005966  2813                     move.l     D4, [A3]
  8286. 00005968  42A7                     clr.l      -[A7]
  8287. 0000596A  4878 0024                push.l     0x24 /* '$' */
  8288. 0000596E  2F05                     move.l     -[A7], D5
  8289. 00005970  1F2F 0040                move.b     -[A7], [A7 + 0x40]
  8290. 00005974  4AAF 003E                tst.l      [A7 + 0x3E]
  8291. 00005978  6604                     bne        +0x6 /* 0000597E */
  8292. 0000597A  91C8                     sub.l      A0, A0
  8293. 0000597C  6004                     bra        +0x6 /* 00005982 */
  8294. label0000597E:
  8295. 0000597E  206F 003A                movea.l    A0, [A7 + 0x3A]
  8296. label00005982:
  8297. 00005982  4850                     pea.l      [A0]
  8298. 00005984  2F04                     move.l     -[A7], D4
  8299. 00005986  4EAD DB86                jsr        [A5 - 0x247A]
  8300. 0000598A  2448                     movea.l    A2, A0
  8301. 0000598C  200A                     move.l     D0, A2
  8302. 0000598E  4FEF 0016                lea.l      A7, [A7 + 0x16]
  8303. 00005992  674C                     beq        +0x4E /* 000059E0 */
  8304. 00005994  3D7C FFFF 0074           move.w     [A6 + 0x74], 0xFFFF
  8305. 0000599A  42A7                     clr.l      -[A7]
  8306. 0000599C  2F0A                     move.l     -[A7], A2
  8307. 0000599E  2F0E                     move.l     -[A7], A6
  8308. 000059A0  2F0C                     move.l     -[A7], A4
  8309. 000059A2  4EBA 0054                jsr        [PC + 0x54 /* 000059F8 */]
  8310. 000059A6  4A80                     tst.l      D0
  8311. 000059A8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8312. 000059AC  6740                     beq        +0x42 /* 000059EE */
  8313. 000059AE  206A 0008                movea.l    A0, [A2 + 0x8]
  8314. 000059B2  A029                     syscall    HLock
  8315. 000059B4  594F                     subq.w     A7, 4
  8316. 000059B6  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8317. 000059BA  4EAD D9AC                jsr        [A5 - 0x2654]
  8318. 000059BE  201F                     move.l     D0, [A7]+
  8319. 000059C0  2F00                     move.l     -[A7], D0
  8320. 000059C2  206A 0008                movea.l    A0, [A2 + 0x8]
  8321. 000059C6  2F10                     move.l     -[A7], [A0]
  8322. 000059C8  2F2E 00A2                move.l     -[A7], [A6 + 0xA2]
  8323. 000059CC  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  8324. 000059D0  4EAD E5F0                jsr        [A5 - 0x1A10]
  8325. 000059D4  206A 0008                movea.l    A0, [A2 + 0x8]
  8326. 000059D8  A02A                     syscall    HUnlock
  8327. 000059DA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8328. 000059DE  600E                     bra        +0x10 /* 000059EE */
  8329. label000059E0:
  8330. 000059E0  0C03 0001                cmpi.b     D3, 0x1
  8331. 000059E4  6608                     bne        +0xA /* 000059EE */
  8332. 000059E6  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  8333. 000059EA  4EAD DF80                jsr        [A5 - 0x2080]
  8334. label000059EE:
  8335. 000059EE  204B                     movea.l    A0, A3
  8336. 000059F0  A02A                     syscall    HUnlock
  8337. 000059F2  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8338. 000059F6  4E75                     rts
  8339. fn000059F8:
  8340. 000059F8  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  8341. 000059FC  286F 0018                movea.l    A4, [A7 + 0x18]
  8342. 00005A00  246F 001C                movea.l    A2, [A7 + 0x1C]
  8343. 00005A04  266F 0020                movea.l    A3, [A7 + 0x20]
  8344. 00005A08  7600                     moveq.l    D3, 0x00
  8345. 00005A0A  7800                     moveq.l    D4, 0x00
  8346. 00005A0C  200B                     move.l     D0, A3
  8347. 00005A0E  6722                     beq        +0x24 /* 00005A32 */
  8348. 00005A10  4AAA 0070                tst.l      [A2 + 0x70]
  8349. 00005A14  6728                     beq        +0x2A /* 00005A3E */
  8350. 00005A16  206A 0050                movea.l    A0, [A2 + 0x50]
  8351. 00005A1A  B1EB 0008                cmpa.l     A0, [A3 + 0x8]
  8352. 00005A1E  661E                     bne        +0x20 /* 00005A3E */
  8353. 00005A20  554F                     subq.w     A7, 2
  8354. 00005A22  486A 0048                pea.l      [A2 + 0x48]
  8355. 00005A26  2F0B                     move.l     -[A7], A3
  8356. 00005A28  A8A6                     syscall    EqualRect
  8357. 00005A2A  101F                     move.b     D0, [A7]+
  8358. 00005A2C  6710                     beq        +0x12 /* 00005A3E */
  8359. 00005A2E  7801                     moveq.l    D4, 0x01
  8360. 00005A30  600C                     bra        +0xE /* 00005A3E */
  8361. label00005A32:
  8362. 00005A32  4AAA 0070                tst.l      [A2 + 0x70]
  8363. 00005A36  6606                     bne        +0x8 /* 00005A3E */
  8364. 00005A38  7801                     moveq.l    D4, 0x01
  8365. 00005A3A  42AA 0050                clr.l      [A2 + 0x50]
  8366. label00005A3E:
  8367. 00005A3E  4A84                     tst.l      D4
  8368. 00005A40  665E                     bne        +0x60 /* 00005AA0 */
  8369. 00005A42  4AAA 0070                tst.l      [A2 + 0x70]
  8370. 00005A46  6718                     beq        +0x1A /* 00005A60 */
  8371. 00005A48  4227                     clr.b      -[A7]
  8372. 00005A4A  2F0A                     move.l     -[A7], A2
  8373. 00005A4C  2F0C                     move.l     -[A7], A4
  8374. 00005A4E  4EBA F7E8                jsr        [PC - 0x818 /* 00005238 */]
  8375. 00005A52  42AA 0050                clr.l      [A2 + 0x50]
  8376. 00005A56  42AA 0070                clr.l      [A2 + 0x70]
  8377. 00005A5A  7601                     moveq.l    D3, 0x01
  8378. 00005A5C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8379. label00005A60:
  8380. 00005A60  200B                     move.l     D0, A3
  8381. 00005A62  673C                     beq        +0x3E /* 00005AA0 */
  8382. 00005A64  41D3                     lea.l      A0, [A3]
  8383. 00005A66  43EA 0048                lea.l      A1, [A2 + 0x48]
  8384. 00005A6A  7008                     moveq.l    D0, 0x08
  8385. label00005A6C:
  8386. 00005A6C  22D8                     move.l     [A1]+, [A0]+
  8387. 00005A6E  51C8 FFFC                dbf        D0, -0x6 /* 00005A6C */
  8388. 00005A72  256F 0024 006C           move.l     [A2 + 0x6C], [A7 + 0x24]
  8389. 00005A78  7001                     moveq.l    D0, 0x01
  8390. 00005A7A  2540 0070                move.l     [A2 + 0x70], D0
  8391. 00005A7E  4227                     clr.b      -[A7]
  8392. 00005A80  2F0A                     move.l     -[A7], A2
  8393. 00005A82  2F0C                     move.l     -[A7], A4
  8394. 00005A84  4EBA F7B2                jsr        [PC - 0x84E /* 00005238 */]
  8395. 00005A88  4878 0001                push.l     0x1
  8396. 00005A8C  42A7                     clr.l      -[A7]
  8397. 00005A8E  42A7                     clr.l      -[A7]
  8398. 00005A90  4227                     clr.b      -[A7]
  8399. 00005A92  2F0A                     move.l     -[A7], A2
  8400. 00005A94  2F0C                     move.l     -[A7], A4
  8401. 00005A96  4EBA F9EC                jsr        [PC - 0x614 /* 00005484 */]
  8402. 00005A9A  7601                     moveq.l    D3, 0x01
  8403. 00005A9C  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8404. label00005AA0:
  8405. 00005AA0  2003                     move.l     D0, D3
  8406. 00005AA2  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  8407. 00005AA6  4E75                     rts
  8408. fn00005AA8:
  8409. 00005AA8  48E7 1030                movem.l    -[A7], D3,A2,A3
  8410. 00005AAC  266F 0010                movea.l    A3, [A7 + 0x10]
  8411. 00005AB0  246F 0014                movea.l    A2, [A7 + 0x14]
  8412. 00005AB4  262F 0018                move.l     D3, [A7 + 0x18]
  8413. 00005AB8  4AAA 009E                tst.l      [A2 + 0x9E]
  8414. 00005ABC  671A                     beq        +0x1C /* 00005AD8 */
  8415. 00005ABE  2F0B                     move.l     -[A7], A3
  8416. 00005AC0  2003                     move.l     D0, D3
  8417. 00005AC2  57C0                     seq        D0
  8418. 00005AC4  4400                     neg.b      D0
  8419. 00005AC6  4880                     ext.w      D0
  8420. 00005AC8  48C0                     ext.l      D0
  8421. 00005ACA  2F00                     move.l     -[A7], D0
  8422. 00005ACC  2F2A 009E                move.l     -[A7], [A2 + 0x9E]
  8423. 00005AD0  4EAD E5A0                jsr        [A5 - 0x1A60]
  8424. 00005AD4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8425. label00005AD8:
  8426. 00005AD8  4A83                     tst.l      D3
  8427. 00005ADA  6740                     beq        +0x42 /* 00005B1C */
  8428. 00005ADC  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  8429. 00005AE0  2F0A                     move.l     -[A7], A2
  8430. 00005AE2  4EBA 0962                jsr        [PC + 0x962 /* 00006446 */]
  8431. 00005AE6  4480                     neg.l      D0
  8432. 00005AE8  322A 0012                move.w     D1, [A2 + 0x12]
  8433. 00005AEC  48C1                     ext.l      D1
  8434. 00005AEE  D280                     add.l      D1, D0
  8435. 00005AF0  584F                     addq.w     A7, 4
  8436. 00005AF2  3F01                     move.w     -[A7], D1
  8437. 00005AF4  2F0A                     move.l     -[A7], A2
  8438. 00005AF6  4EBA 096C                jsr        [PC + 0x96C /* 00006464 */]
  8439. 00005AFA  4480                     neg.l      D0
  8440. 00005AFC  322A 0010                move.w     D1, [A2 + 0x10]
  8441. 00005B00  48C1                     ext.l      D1
  8442. 00005B02  D280                     add.l      D1, D0
  8443. 00005B04  584F                     addq.w     A7, 4
  8444. 00005B06  3F01                     move.w     -[A7], D1
  8445. 00005B08  A8E0                     syscall    OffsetRgn/OfsetRgn
  8446. 00005B0A  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  8447. 00005B0E  4878 FFFF                push.l     0xFFFF
  8448. 00005B12  A8E1                     syscall    InsetRgn
  8449. 00005B14  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  8450. 00005B18  A927                     syscall    InvalRgn
  8451. 00005B1A  6010                     bra        +0x12 /* 00005B2C */
  8452. label00005B1C:
  8453. 00005B1C  1F3C 0001                move.b     -[A7], 0x1
  8454. 00005B20  2F0A                     move.l     -[A7], A2
  8455. 00005B22  2F0B                     move.l     -[A7], A3
  8456. 00005B24  4EBA F712                jsr        [PC - 0x8EE /* 00005238 */]
  8457. 00005B28  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8458. label00005B2C:
  8459. 00005B2C  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  8460. 00005B30  A8DD                     syscall    SetEmptyRgn
  8461. 00005B32  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  8462. 00005B36  4E75                     rts
  8463. fn00005B38:
  8464. 00005B38  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  8465. 00005B3C  266F 001C                movea.l    A3, [A7 + 0x1C]
  8466. 00005B40  246F 0020                movea.l    A2, [A7 + 0x20]
  8467. 00005B44  2F0A                     move.l     -[A7], A2
  8468. 00005B46  4EBA C0C2                jsr        [PC - 0x3F3E /* 00001C0A */]
  8469. 00005B4A  2800                     move.l     D4, D0
  8470. 00005B4C  2F0A                     move.l     -[A7], A2
  8471. 00005B4E  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  8472. 00005B52  4878 FFFF                push.l     0xFFFF
  8473. 00005B56  A968                     syscall    TrackControl
  8474. 00005B58  301F                     move.w     D0, [A7]+
  8475. 00005B5A  2F0A                     move.l     -[A7], A2
  8476. 00005B5C  4EBA C0AC                jsr        [PC - 0x3F54 /* 00001C0A */]
  8477. 00005B60  2204                     move.l     D1, D4
  8478. 00005B62  9280                     sub.l      D1, D0
  8479. 00005B64  2601                     move.l     D3, D1
  8480. 00005B66  4A83                     tst.l      D3
  8481. 00005B68  5C4F                     addq.w     A7, 6
  8482. 00005B6A  6726                     beq        +0x28 /* 00005B92 */
  8483. 00005B6C  B5EB 0096                cmpa.l     A2, [A3 + 0x96]
  8484. 00005B70  6606                     bne        +0x8 /* 00005B78 */
  8485. 00005B72  2803                     move.l     D4, D3
  8486. 00005B74  7A00                     moveq.l    D5, 0x00
  8487. 00005B76  6004                     bra        +0x6 /* 00005B7C */
  8488. label00005B78:
  8489. 00005B78  7800                     moveq.l    D4, 0x00
  8490. 00005B7A  2A03                     move.l     D5, D3
  8491. label00005B7C:
  8492. 00005B7C  4878 0001                push.l     0x1
  8493. 00005B80  2F05                     move.l     -[A7], D5
  8494. 00005B82  2F04                     move.l     -[A7], D4
  8495. 00005B84  2F0B                     move.l     -[A7], A3
  8496. 00005B86  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  8497. 00005B8A  4EBA FB3A                jsr        [PC - 0x4C6 /* 000056C6 */]
  8498. 00005B8E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8499. label00005B92:
  8500. 00005B92  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  8501. 00005B96  4E75                     rts
  8502. 00005B98  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  8503. 00005B9C  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  8504. 00005BA0  4EBA 000A                jsr        [PC + 0xA /* 00005BAC */]
  8505. 00005BA4  5C4F                     addq.w     A7, 6
  8506. 00005BA6  205F                     movea.l    A0, [A7]+
  8507. 00005BA8  5C4F                     addq.w     A7, 6
  8508. 00005BAA  4ED0                     jmp        [A0]
  8509. fn00005BAC:
  8510. 00005BAC  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  8511. 00005BB0  514F                     subq.w     A7, 8
  8512. 00005BB2  246F 0024                movea.l    A2, [A7 + 0x24]
  8513. 00005BB6  2052                     movea.l    A0, [A2]
  8514. 00005BB8  2868 0004                movea.l    A4, [A0 + 0x4]
  8515. 00005BBC  1F3C 0001                move.b     -[A7], 0x1
  8516. 00005BC0  4878 FF9C                push.l     0xFF9C
  8517. 00005BC4  2F0C                     move.l     -[A7], A4
  8518. 00005BC6  4EAD E830                jsr        [A5 - 0x17D0]
  8519. 00005BCA  2648                     movea.l    A3, A0
  8520. 00005BCC  206B 0050                movea.l    A0, [A3 + 0x50]
  8521. 00005BD0  2850                     movea.l    A4, [A0]
  8522. 00005BD2  B5EC 0096                cmpa.l     A2, [A4 + 0x96]
  8523. 00005BD6  57C0                     seq        D0
  8524. 00005BD8  4400                     neg.b      D0
  8525. 00005BDA  4880                     ext.w      D0
  8526. 00005BDC  48C0                     ext.l      D0
  8527. 00005BDE  2800                     move.l     D4, D0
  8528. 00005BE0  4227                     clr.b      -[A7]
  8529. 00005BE2  486F 000C                pea.l      [A7 + 0xC]
  8530. 00005BE6  2F0C                     move.l     -[A7], A4
  8531. 00005BE8  2F0B                     move.l     -[A7], A3
  8532. 00005BEA  4EBA EFE4                jsr        [PC - 0x101C /* 00004BD0 */]
  8533. 00005BEE  302F 0040                move.w     D0, [A7 + 0x40]
  8534. 00005BF2  48C0                     ext.l      D0
  8535. 00005BF4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8536. 00005BF8  0480 0000 0014           subi.l     D0, 0x14
  8537. 00005BFE  6716                     beq        +0x18 /* 00005C16 */
  8538. 00005C00  5380                     subq.l     D0, 1
  8539. 00005C02  6716                     beq        +0x18 /* 00005C1A */
  8540. 00005C04  5380                     subq.l     D0, 1
  8541. 00005C06  6716                     beq        +0x18 /* 00005C1E */
  8542. 00005C08  5380                     subq.l     D0, 1
  8543. 00005C0A  6740                     beq        +0x42 /* 00005C4C */
  8544. 00005C0C  4E71                     nop
  8545. 00005C0E  504F                     addq.w     A7, 8
  8546. 00005C10  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  8547. 00005C14  4E75                     rts
  8548. label00005C16:
  8549. 00005C16  76EE                     moveq.l    D3, 0xFFFFFFEE
  8550. 00005C18  605A                     bra        +0x5C /* 00005C74 */
  8551. label00005C1A:
  8552. 00005C1A  7612                     moveq.l    D3, 0x12
  8553. 00005C1C  6056                     bra        +0x58 /* 00005C74 */
  8554. label00005C1E:
  8555. 00005C1E  4A84                     tst.l      D4
  8556. 00005C20  6716                     beq        +0x18 /* 00005C38 */
  8557. 00005C22  302F 0002                move.w     D0, [A7 + 0x2]
  8558. 00005C26  48C0                     ext.l      D0
  8559. 00005C28  362F 0006                move.w     D3, [A7 + 0x6]
  8560. 00005C2C  48C3                     ext.l      D3
  8561. 00005C2E  9680                     sub.l      D3, D0
  8562. 00005C30  70EE                     moveq.l    D0, 0xFFFFFFEE
  8563. 00005C32  D680                     add.l      D3, D0
  8564. 00005C34  4483                     neg.l      D3
  8565. 00005C36  603C                     bra        +0x3E /* 00005C74 */
  8566. label00005C38:
  8567. 00005C38  3017                     move.w     D0, [A7]
  8568. 00005C3A  48C0                     ext.l      D0
  8569. 00005C3C  362F 0004                move.w     D3, [A7 + 0x4]
  8570. 00005C40  48C3                     ext.l      D3
  8571. 00005C42  9680                     sub.l      D3, D0
  8572. 00005C44  70EE                     moveq.l    D0, 0xFFFFFFEE
  8573. 00005C46  D680                     add.l      D3, D0
  8574. 00005C48  4483                     neg.l      D3
  8575. 00005C4A  6028                     bra        +0x2A /* 00005C74 */
  8576. label00005C4C:
  8577. 00005C4C  4A84                     tst.l      D4
  8578. 00005C4E  6714                     beq        +0x16 /* 00005C64 */
  8579. 00005C50  302F 0002                move.w     D0, [A7 + 0x2]
  8580. 00005C54  48C0                     ext.l      D0
  8581. 00005C56  362F 0006                move.w     D3, [A7 + 0x6]
  8582. 00005C5A  48C3                     ext.l      D3
  8583. 00005C5C  9680                     sub.l      D3, D0
  8584. 00005C5E  70EE                     moveq.l    D0, 0xFFFFFFEE
  8585. 00005C60  D680                     add.l      D3, D0
  8586. 00005C62  6010                     bra        +0x12 /* 00005C74 */
  8587. label00005C64:
  8588. 00005C64  3017                     move.w     D0, [A7]
  8589. 00005C66  48C0                     ext.l      D0
  8590. 00005C68  362F 0004                move.w     D3, [A7 + 0x4]
  8591. 00005C6C  48C3                     ext.l      D3
  8592. 00005C6E  9680                     sub.l      D3, D0
  8593. 00005C70  70EE                     moveq.l    D0, 0xFFFFFFEE
  8594. 00005C72  D680                     add.l      D3, D0
  8595. label00005C74:
  8596. 00005C74  3043                     movea.w    A0, D3
  8597. 00005C76  2F08                     move.l     -[A7], A0
  8598. 00005C78  2F0A                     move.l     -[A7], A2
  8599. 00005C7A  4EBA FA00                jsr        [PC - 0x600 /* 0000567C */]
  8600. 00005C7E  3600                     move.w     D3, D0
  8601. 00005C80  504F                     addq.w     A7, 8
  8602. 00005C82  6748                     beq        +0x4A /* 00005CCC */
  8603. 00005C84  2F0A                     move.l     -[A7], A2
  8604. 00005C86  4EBA BF82                jsr        [PC - 0x407E /* 00001C0A */]
  8605. 00005C8A  2A00                     move.l     D5, D0
  8606. 00005C8C  3003                     move.w     D0, D3
  8607. 00005C8E  48C0                     ext.l      D0
  8608. 00005C90  D085                     add.l      D0, D5
  8609. 00005C92  2F00                     move.l     -[A7], D0
  8610. 00005C94  2F0A                     move.l     -[A7], A2
  8611. 00005C96  4EBA BF96                jsr        [PC - 0x406A /* 00001C2E */]
  8612. 00005C9A  2F0A                     move.l     -[A7], A2
  8613. 00005C9C  4EBA BF6C                jsr        [PC - 0x4094 /* 00001C0A */]
  8614. 00005CA0  2205                     move.l     D1, D5
  8615. 00005CA2  9280                     sub.l      D1, D0
  8616. 00005CA4  2601                     move.l     D3, D1
  8617. 00005CA6  4A84                     tst.l      D4
  8618. 00005CA8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8619. 00005CAC  6706                     beq        +0x8 /* 00005CB4 */
  8620. 00005CAE  2803                     move.l     D4, D3
  8621. 00005CB0  7A00                     moveq.l    D5, 0x00
  8622. 00005CB2  6004                     bra        +0x6 /* 00005CB8 */
  8623. label00005CB4:
  8624. 00005CB4  7800                     moveq.l    D4, 0x00
  8625. 00005CB6  2A03                     move.l     D5, D3
  8626. label00005CB8:
  8627. 00005CB8  4878 0001                push.l     0x1
  8628. 00005CBC  2F05                     move.l     -[A7], D5
  8629. 00005CBE  2F04                     move.l     -[A7], D4
  8630. 00005CC0  2F0C                     move.l     -[A7], A4
  8631. 00005CC2  2F0B                     move.l     -[A7], A3
  8632. 00005CC4  4EBA FA00                jsr        [PC - 0x600 /* 000056C6 */]
  8633. 00005CC8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8634. label00005CCC:
  8635. 00005CCC  504F                     addq.w     A7, 8
  8636. 00005CCE  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  8637. 00005CD2  4E75                     rts
  8638. fn00005CD4:
  8639. 00005CD4  48E7 0030                movem.l    -[A7], A2,A3
  8640. 00005CD8  266F 000C                movea.l    A3, [A7 + 0xC]
  8641. 00005CDC  246F 0010                movea.l    A2, [A7 + 0x10]
  8642. 00005CE0  276A 0018 0040           move.l     [A3 + 0x40], [A2 + 0x18]
  8643. 00005CE6  276A 001C 0044           move.l     [A3 + 0x44], [A2 + 0x1C]
  8644. 00005CEC  4AAB 0054                tst.l      [A3 + 0x54]
  8645. 00005CF0  661A                     bne        +0x1C /* 00005D0C */
  8646. 00005CF2  4AAA 009A                tst.l      [A2 + 0x9A]
  8647. 00005CF6  6718                     beq        +0x1A /* 00005D10 */
  8648. 00005CF8  206A 009A                movea.l    A0, [A2 + 0x9A]
  8649. 00005CFC  2050                     movea.l    A0, [A0]
  8650. 00005CFE  4A28 0010                tst.b      [A0 + 0x10]
  8651. 00005D02  670C                     beq        +0xE /* 00005D10 */
  8652. 00005D04  066B 0010 0046           addi.w     [A3 + 0x46], 0x10
  8653. 00005D0A  6004                     bra        +0x6 /* 00005D10 */
  8654. label00005D0C:
  8655. 00005D0C  536B 0046                subq.w     [A3 + 0x46], 1
  8656. label00005D10:
  8657. 00005D10  4AAA 0096                tst.l      [A2 + 0x96]
  8658. 00005D14  6712                     beq        +0x14 /* 00005D28 */
  8659. 00005D16  206A 0096                movea.l    A0, [A2 + 0x96]
  8660. 00005D1A  2050                     movea.l    A0, [A0]
  8661. 00005D1C  4A28 0010                tst.b      [A0 + 0x10]
  8662. 00005D20  6706                     beq        +0x8 /* 00005D28 */
  8663. 00005D22  066B 0010 0044           addi.w     [A3 + 0x44], 0x10
  8664. label00005D28:
  8665. 00005D28  4CDF 0C00                movem.l    A2,A3, [A7]+
  8666. 00005D2C  4E75                     rts
  8667. fn00005D2E:
  8668. 00005D2E  48E7 0038                movem.l    -[A7], A2,A3,A4
  8669. 00005D32  246F 0014                movea.l    A2, [A7 + 0x14]
  8670. 00005D36  286F 0018                movea.l    A4, [A7 + 0x18]
  8671. 00005D3A  266F 001C                movea.l    A3, [A7 + 0x1C]
  8672. 00005D3E  082A 0006 0020           btst.b     [A2 + 0x20], 0x6
  8673. 00005D44  6608                     bne        +0xA /* 00005D4E */
  8674. 00005D46  082A 0005 0020           btst.b     [A2 + 0x20], 0x5
  8675. 00005D4C  670E                     beq        +0x10 /* 00005D5C */
  8676. label00005D4E:
  8677. 00005D4E  28AA 0014                move.l     [A4], [A2 + 0x14]
  8678. 00005D52  26AA 0018                move.l     [A3], [A2 + 0x18]
  8679. 00005D56  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8680. 00005D5A  4E75                     rts
  8681. label00005D5C:
  8682. 00005D5C  2F0B                     move.l     -[A7], A3
  8683. 00005D5E  2F0C                     move.l     -[A7], A4
  8684. 00005D60  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  8685. 00005D64  1F3C 0006                move.b     -[A7], 0x6
  8686. 00005D68  206F 001E                movea.l    A0, [A7 + 0x1E]
  8687. 00005D6C  2F28 0048                move.l     -[A7], [A0 + 0x48]
  8688. 00005D70  4EAD E818                jsr        [A5 - 0x17E8]
  8689. 00005D74  5C4F                     addq.w     A7, 6
  8690. 00005D76  3F10                     move.w     -[A7], [A0]
  8691. 00005D78  4EAD E218                jsr        [A5 - 0x1DE8]
  8692. 00005D7C  2554 0014                move.l     [A2 + 0x14], [A4]
  8693. 00005D80  2553 0018                move.l     [A2 + 0x18], [A3]
  8694. 00005D84  002A 0040 0020           ori.b      [A2 + 0x20], 0x40 /* '@' */
  8695. 00005D8A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8696. 00005D8E  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8697. 00005D92  4E75                     rts
  8698. fn00005D94:
  8699. 00005D94  2F0A                     move.l     -[A7], A2
  8700. 00005D96  246F 000C                movea.l    A2, [A7 + 0xC]
  8701. 00005D9A  206F 0008                movea.l    A0, [A7 + 0x8]
  8702. 00005D9E  2F28 0048                move.l     -[A7], [A0 + 0x48]
  8703. 00005DA2  4EAD E848                jsr        [A5 - 0x17B8]
  8704. 00005DA6  5300                     subq.b     D0, 1
  8705. 00005DA8  584F                     addq.w     A7, 4
  8706. 00005DAA  6608                     bne        +0xA /* 00005DB4 */
  8707. 00005DAC  42A7                     clr.l      -[A7]
  8708. 00005DAE  4EBA B886                jsr        [PC - 0x477A /* 00001636 */]
  8709. 00005DB2  584F                     addq.w     A7, 4
  8710. label00005DB4:
  8711. 00005DB4  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  8712. 00005DB8  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  8713. 00005DBC  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  8714. 00005DC0  206F 0014                movea.l    A0, [A7 + 0x14]
  8715. 00005DC4  2F28 0048                move.l     -[A7], [A0 + 0x48]
  8716. 00005DC8  4EBA BFF4                jsr        [PC - 0x400C /* 00001DBE */]
  8717. 00005DCC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8718. 00005DD0  245F                     movea.l    A2, [A7]+
  8719. 00005DD2  4E75                     rts
  8720. fn00005DD4:
  8721. 00005DD4  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  8722. 00005DD8  4FEF FFD8                lea.l      A7, [A7 - 0x28]
  8723. 00005DDC  266F 0048                movea.l    A3, [A7 + 0x48]
  8724. 00005DE0  246F 004C                movea.l    A2, [A7 + 0x4C]
  8725. 00005DE4  2A2F 0050                move.l     D5, [A7 + 0x50]
  8726. 00005DE8  2C6F 0058                movea.l    A6, [A7 + 0x58]
  8727. 00005DEC  286F 005C                movea.l    A4, [A7 + 0x5C]
  8728. 00005DF0  7800                     moveq.l    D4, 0x00
  8729. 00005DF2  4294                     clr.l      [A4]
  8730. 00005DF4  1F3C 0002                move.b     -[A7], 0x2
  8731. 00005DF8  2F0A                     move.l     -[A7], A2
  8732. 00005DFA  2F0B                     move.l     -[A7], A3
  8733. 00005DFC  4EBA F43A                jsr        [PC - 0xBC6 /* 00005238 */]
  8734. 00005E00  42A7                     clr.l      -[A7]
  8735. 00005E02  4EAD DD50                jsr        [A5 - 0x22B0]
  8736. 00005E06  486A 0018                pea.l      [A2 + 0x18]
  8737. 00005E0A  2F0B                     move.l     -[A7], A3
  8738. 00005E0C  4EBA 086C                jsr        [PC + 0x86C /* 0000667A */]
  8739. 00005E10  2045                     movea.l    A0, D5
  8740. 00005E12  4A28 0021                tst.b      [A0 + 0x21]
  8741. 00005E16  4FEF 0016                lea.l      A7, [A7 + 0x16]
  8742. 00005E1A  6722                     beq        +0x24 /* 00005E3E */
  8743. 00005E1C  4227                     clr.b      -[A7]
  8744. 00005E1E  486F 000A                pea.l      [A7 + 0xA]
  8745. 00005E22  2F0A                     move.l     -[A7], A2
  8746. 00005E24  2F0B                     move.l     -[A7], A3
  8747. 00005E26  4EBA EDA8                jsr        [PC - 0x1258 /* 00004BD0 */]
  8748. 00005E2A  486F 0016                pea.l      [A7 + 0x16]
  8749. 00005E2E  2F0E                     move.l     -[A7], A6
  8750. 00005E30  486F 0032                pea.l      [A7 + 0x32]
  8751. 00005E34  A8AA                     syscall    SectRect
  8752. 00005E36  101F                     move.b     D0, [A7]+
  8753. 00005E38  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8754. 00005E3C  6010                     bra        +0x12 /* 00005E4E */
  8755. label00005E3E:
  8756. 00005E3E  554F                     subq.w     A7, 2
  8757. 00005E40  486A 0018                pea.l      [A2 + 0x18]
  8758. 00005E44  2F0E                     move.l     -[A7], A6
  8759. 00005E46  486F 0026                pea.l      [A7 + 0x26]
  8760. 00005E4A  A8AA                     syscall    SectRect
  8761. 00005E4C  101F                     move.b     D0, [A7]+
  8762. label00005E4E:
  8763. 00005E4E  2F6F 0054 0024           move.l     [A7 + 0x24], [A7 + 0x54]
  8764. 00005E54  302F 0056                move.w     D0, [A7 + 0x56]
  8765. 00005E58  48C0                     ext.l      D0
  8766. 00005E5A  5380                     subq.l     D0, 1
  8767. 00005E5C  3F40 001A                move.w     [A7 + 0x1A], D0
  8768. label00005E60:
  8769. 00005E60  554F                     subq.w     A7, 2
  8770. 00005E62  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  8771. 00005E66  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  8772. 00005E6A  A881                     syscall    EqualPt
  8773. 00005E6C  101F                     move.b     D0, [A7]+
  8774. 00005E6E  6638                     bne        +0x3A /* 00005EA8 */
  8775. 00005E70  2F6F 0024 0018           move.l     [A7 + 0x18], [A7 + 0x24]
  8776. 00005E76  554F                     subq.w     A7, 2
  8777. 00005E78  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  8778. 00005E7C  486F 0022                pea.l      [A7 + 0x22]
  8779. 00005E80  A8AD                     syscall    PtInRect
  8780. 00005E82  101F                     move.b     D0, [A7]+
  8781. 00005E84  7200                     moveq.l    D1, 0x00
  8782. 00005E86  1200                     move.b     D1, D0
  8783. 00005E88  2601                     move.l     D3, D1
  8784. 00005E8A  B883                     cmp.l      D4, D3
  8785. 00005E8C  671A                     beq        +0x1C /* 00005EA8 */
  8786. 00005E8E  2803                     move.l     D4, D3
  8787. 00005E90  2F6F 001C 0010           move.l     [A7 + 0x10], [A7 + 0x1C]
  8788. 00005E96  2F6F 0020 0014           move.l     [A7 + 0x14], [A7 + 0x20]
  8789. 00005E9C  42A7                     clr.l      -[A7]
  8790. 00005E9E  486F 0014                pea.l      [A7 + 0x14]
  8791. 00005EA2  4EBA 118A                jsr        [PC + 0x118A /* 0000702E */]
  8792. 00005EA6  504F                     addq.w     A7, 8
  8793. label00005EA8:
  8794. 00005EA8  486F 0024                pea.l      [A7 + 0x24]
  8795. 00005EAC  A972                     syscall    GetMouse
  8796. 00005EAE  554F                     subq.w     A7, 2
  8797. 00005EB0  A973                     syscall    StillDown
  8798. 00005EB2  101F                     move.b     D0, [A7]+
  8799. 00005EB4  66AA                     bne        -0x54 /* 00005E60 */
  8800. 00005EB6  4A84                     tst.l      D4
  8801. 00005EB8  6736                     beq        +0x38 /* 00005EF0 */
  8802. 00005EBA  2EAF 001C                move.l     [A7], [A7 + 0x1C]
  8803. 00005EBE  2F6F 0020 0004           move.l     [A7 + 0x4], [A7 + 0x20]
  8804. 00005EC4  42A7                     clr.l      -[A7]
  8805. 00005EC6  486F 0004                pea.l      [A7 + 0x4]
  8806. 00005ECA  4EBA 1162                jsr        [PC + 0x1162 /* 0000702E */]
  8807. 00005ECE  4EAD DD58                jsr        [A5 - 0x22A8]
  8808. 00005ED2  7001                     moveq.l    D0, 0x01
  8809. 00005ED4  2880                     move.l     [A4], D0
  8810. 00005ED6  42AA 0070                clr.l      [A2 + 0x70]
  8811. 00005EDA  3F3C FFFF                move.w     -[A7], 0xFFFF
  8812. 00005EDE  42A7                     clr.l      -[A7]
  8813. 00005EE0  2F05                     move.l     -[A7], D5
  8814. 00005EE2  2F0A                     move.l     -[A7], A2
  8815. 00005EE4  2F0B                     move.l     -[A7], A3
  8816. 00005EE6  4EBA 0028                jsr        [PC + 0x28 /* 00005F10 */]
  8817. 00005EEA  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  8818. 00005EEE  6014                     bra        +0x16 /* 00005F04 */
  8819. label00005EF0:
  8820. 00005EF0  1F3C 0002                move.b     -[A7], 0x2
  8821. 00005EF4  2F0A                     move.l     -[A7], A2
  8822. 00005EF6  2F0B                     move.l     -[A7], A3
  8823. 00005EF8  4EBA F33E                jsr        [PC - 0xCC2 /* 00005238 */]
  8824. 00005EFC  4EAD DD58                jsr        [A5 - 0x22A8]
  8825. 00005F00  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8826. label00005F04:
  8827. 00005F04  2004                     move.l     D0, D4
  8828. 00005F06  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8829. 00005F0A  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8830. 00005F0E  4E75                     rts
  8831. fn00005F10:
  8832. 00005F10  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  8833. 00005F14  4FEF FFA8                lea.l      A7, [A7 - 0x58]
  8834. 00005F18  266F 0078                movea.l    A3, [A7 + 0x78]
  8835. 00005F1C  246F 007C                movea.l    A2, [A7 + 0x7C]
  8836. 00005F20  286F 0080                movea.l    A4, [A7 + 0x80]
  8837. 00005F24  2A2F 0084                move.l     D5, [A7 + 0x84]
  8838. 00005F28  362F 0088                move.w     D3, [A7 + 0x88]
  8839. 00005F2C  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  8840. 00005F30  4EAD E408                jsr        [A5 - 0x1BF8]
  8841. 00005F34  486F 004C                pea.l      [A7 + 0x4C]
  8842. 00005F38  486F 005C                pea.l      [A7 + 0x5C]
  8843. 00005F3C  2F0C                     move.l     -[A7], A4
  8844. 00005F3E  2F0B                     move.l     -[A7], A3
  8845. 00005F40  4EBA FDEC                jsr        [PC - 0x214 /* 00005D2E */]
  8846. 00005F44  42A7                     clr.l      -[A7]
  8847. 00005F46  2F0A                     move.l     -[A7], A2
  8848. 00005F48  2F0B                     move.l     -[A7], A3
  8849. 00005F4A  4EBA FB5C                jsr        [PC - 0x4A4 /* 00005AA8 */]
  8850. 00005F4E  0C2C 0001 0022           cmpi.b     [A4 + 0x22], 0x1
  8851. 00005F54  4FEF 0020                lea.l      A7, [A7 + 0x20]
  8852. 00005F58  6600 00DE                bne        +0xE0 /* 00006038 */
  8853. 00005F5C  4EBA 126A                jsr        [PC + 0x126A /* 000071C8 */]
  8854. 00005F60  4A80                     tst.l      D0
  8855. 00005F62  6708                     beq        +0xA /* 00005F6C */
  8856. 00005F64  2F0A                     move.l     -[A7], A2
  8857. 00005F66  4EBA 11B2                jsr        [PC + 0x11B2 /* 0000711A */]
  8858. 00005F6A  584F                     addq.w     A7, 4
  8859. label00005F6C:
  8860. 00005F6C  082A 0005 00AE           btst.b     [A2 + 0xAE], 0x5
  8861. 00005F72  671A                     beq        +0x1C /* 00005F8E */
  8862. 00005F74  42A7                     clr.l      -[A7]
  8863. 00005F76  2F0C                     move.l     -[A7], A4
  8864. 00005F78  102C 0021                move.b     D0, [A4 + 0x21]
  8865. 00005F7C  4880                     ext.w      D0
  8866. 00005F7E  48C0                     ext.l      D0
  8867. 00005F80  2F00                     move.l     -[A7], D0
  8868. 00005F82  2F0A                     move.l     -[A7], A2
  8869. 00005F84  2F0B                     move.l     -[A7], A3
  8870. 00005F86  4EBA 04FA                jsr        [PC + 0x4FA /* 00006482 */]
  8871. 00005F8A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8872. label00005F8E:
  8873. 00005F8E  2F54 0040                move.l     [A7 + 0x40], [A4]
  8874. 00005F92  2F6C 0004 0044           move.l     [A7 + 0x44], [A4 + 0x4]
  8875. 00005F98  102C 0021                move.b     D0, [A4 + 0x21]
  8876. 00005F9C  4880                     ext.w      D0
  8877. 00005F9E  48C0                     ext.l      D0
  8878. 00005FA0  2F00                     move.l     -[A7], D0
  8879. 00005FA2  42A7                     clr.l      -[A7]
  8880. 00005FA4  486F 0048                pea.l      [A7 + 0x48]
  8881. 00005FA8  2F0A                     move.l     -[A7], A2
  8882. 00005FAA  2F0B                     move.l     -[A7], A3
  8883. 00005FAC  4EBA F8CE                jsr        [PC - 0x732 /* 0000587C */]
  8884. 00005FB0  2F6F 0054 004C           move.l     [A7 + 0x4C], [A7 + 0x54]
  8885. 00005FB6  486F 004C                pea.l      [A7 + 0x4C]
  8886. 00005FBA  A870                     syscall    LocalToGlobal
  8887. 00005FBC  4AAF 0068                tst.l      [A7 + 0x68]
  8888. 00005FC0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8889. 00005FC4  6C1E                     bge        +0x20 /* 00005FE4 */
  8890. 00005FC6  42A7                     clr.l      -[A7]
  8891. 00005FC8  4878 0001                push.l     0x1
  8892. 00005FCC  486F 005C                pea.l      [A7 + 0x5C]
  8893. 00005FD0  486F 0048                pea.l      [A7 + 0x48]
  8894. 00005FD4  2F2F 0064                move.l     -[A7], [A7 + 0x64]
  8895. 00005FD8  2F0B                     move.l     -[A7], A3
  8896. 00005FDA  4EBA 0D18                jsr        [PC + 0xD18 /* 00006CF4 */]
  8897. 00005FDE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8898. 00005FE2  6006                     bra        +0x8 /* 00005FEA */
  8899. label00005FE4:
  8900. 00005FE4  2F6B 0048 003C           move.l     [A7 + 0x3C], [A3 + 0x48]
  8901. label00005FEA:
  8902. 00005FEA  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  8903. 00005FEE  4EAD DD88                jsr        [A5 - 0x2278]
  8904. 00005FF2  4AAF 0040                tst.l      [A7 + 0x40]
  8905. 00005FF6  584F                     addq.w     A7, 4
  8906. 00005FF8  6700 0330                beq        +0x332 /* 0000632A */
  8907. 00005FFC  2F6F 0040 0014           move.l     [A7 + 0x14], [A7 + 0x40]
  8908. 00006002  2F6F 0044 0018           move.l     [A7 + 0x18], [A7 + 0x44]
  8909. 00006008  4878 0001                push.l     0x1
  8910. 0000600C  42A7                     clr.l      -[A7]
  8911. 0000600E  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  8912. 00006012  4878 0001                push.l     0x1
  8913. 00006016  486F 0024                pea.l      [A7 + 0x24]
  8914. 0000601A  2F2F 005C                move.l     -[A7], [A7 + 0x5C]
  8915. 0000601E  2F2F 006C                move.l     -[A7], [A7 + 0x6C]
  8916. 00006022  4267                     clr.w      -[A7]
  8917. 00006024  2F2C 0008                move.l     -[A7], [A4 + 0x8]
  8918. 00006028  2F2F 005E                move.l     -[A7], [A7 + 0x5E]
  8919. 0000602C  4EBA B298                jsr        [PC - 0x4D68 /* 000012C6 */]
  8920. 00006030  4FEF 0026                lea.l      A7, [A7 + 0x26]
  8921. 00006034  6000 02F4                bra        +0x2F6 /* 0000632A */
  8922. label00006038:
  8923. 00006038  4A85                     tst.l      D5
  8924. 0000603A  6600 00DA                bne        +0xDC /* 00006116 */
  8925. 0000603E  4AAF 0054                tst.l      [A7 + 0x54]
  8926. 00006042  6C00 00D2                bge        +0xD4 /* 00006116 */
  8927. 00006046  9DCE                     sub.l      A6, A6
  8928. 00006048  082A 0006 00AE           btst.b     [A2 + 0xAE], 0x6
  8929. 0000604E  671C                     beq        +0x1E /* 0000606C */
  8930. 00006050  486F 000C                pea.l      [A7 + 0xC]
  8931. 00006054  2F0C                     move.l     -[A7], A4
  8932. 00006056  102C 0021                move.b     D0, [A4 + 0x21]
  8933. 0000605A  4880                     ext.w      D0
  8934. 0000605C  48C0                     ext.l      D0
  8935. 0000605E  2F00                     move.l     -[A7], D0
  8936. 00006060  2F0A                     move.l     -[A7], A2
  8937. 00006062  2F0B                     move.l     -[A7], A3
  8938. 00006064  4EBA 041C                jsr        [PC + 0x41C /* 00006482 */]
  8939. 00006068  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8940. label0000606C:
  8941. 0000606C  486F 000C                pea.l      [A7 + 0xC]
  8942. 00006070  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  8943. 00006074  2F0A                     move.l     -[A7], A2
  8944. 00006076  2F0B                     move.l     -[A7], A3
  8945. 00006078  4EBA 02C2                jsr        [PC + 0x2C2 /* 0000633C */]
  8946. 0000607C  486F 0010                pea.l      [A7 + 0x10]
  8947. 00006080  486F 0060                pea.l      [A7 + 0x60]
  8948. 00006084  3F2A 00B2                move.w     -[A7], [A2 + 0xB2]
  8949. 00006088  2F0B                     move.l     -[A7], A3
  8950. 0000608A  4EBA 0984                jsr        [PC + 0x984 /* 00006A10 */]
  8951. 0000608E  2600                     move.l     D3, D0
  8952. 00006090  4A83                     tst.l      D3
  8953. 00006092  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  8954. 00006096  6710                     beq        +0x12 /* 000060A8 */
  8955. 00006098  206F 004C                movea.l    A0, [A7 + 0x4C]
  8956. 0000609C  2F28 0048                move.l     -[A7], [A0 + 0x48]
  8957. 000060A0  4EAD DD40                jsr        [A5 - 0x22C0]
  8958. 000060A4  584F                     addq.w     A7, 4
  8959. 000060A6  6004                     bra        +0x6 /* 000060AC */
  8960. label000060A8:
  8961. 000060A8  2F4B 004C                move.l     [A7 + 0x4C], A3
  8962. label000060AC:
  8963. 000060AC  206F 004C                movea.l    A0, [A7 + 0x4C]
  8964. 000060B0  2F28 0050                move.l     -[A7], [A0 + 0x50]
  8965. 000060B4  4EAD DD88                jsr        [A5 - 0x2278]
  8966. 000060B8  4AAD B2D8                tst.l      [A5 - 0x4D28]
  8967. 000060BC  584F                     addq.w     A7, 4
  8968. 000060BE  671A                     beq        +0x1C /* 000060DA */
  8969. 000060C0  2F54 002C                move.l     [A7 + 0x2C], [A4]
  8970. 000060C4  2F6C 0004 0030           move.l     [A7 + 0x30], [A4 + 0x4]
  8971. 000060CA  102C 0021                move.b     D0, [A4 + 0x21]
  8972. 000060CE  4880                     ext.w      D0
  8973. 000060D0  48C0                     ext.l      D0
  8974. 000060D2  2F40 0034                move.l     [A7 + 0x34], D0
  8975. 000060D6  4DEF 002C                lea.l      A6, [A7 + 0x2C]
  8976. label000060DA:
  8977. 000060DA  2F0E                     move.l     -[A7], A6
  8978. 000060DC  42A7                     clr.l      -[A7]
  8979. 000060DE  42A7                     clr.l      -[A7]
  8980. 000060E0  42A7                     clr.l      -[A7]
  8981. 000060E2  2F2F 0064                move.l     -[A7], [A7 + 0x64]
  8982. 000060E6  2F2F 0060                move.l     -[A7], [A7 + 0x60]
  8983. 000060EA  4EBA 0C08                jsr        [PC + 0xC08 /* 00006CF4 */]
  8984. 000060EE  4A83                     tst.l      D3
  8985. 000060F0  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8986. 000060F4  6700 0234                beq        +0x236 /* 0000632A */
  8987. 000060F8  4EAD DD48                jsr        [A5 - 0x22B8]
  8988. 000060FC  1F3C 0002                move.b     -[A7], 0x2
  8989. 00006100  42A7                     clr.l      -[A7]
  8990. 00006102  206F 0052                movea.l    A0, [A7 + 0x52]
  8991. 00006106  2F28 0048                move.l     -[A7], [A0 + 0x48]
  8992. 0000610A  4EAD E830                jsr        [A5 - 0x17D0]
  8993. 0000610E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8994. 00006112  6000 0216                bra        +0x218 /* 0000632A */
  8995. label00006116:
  8996. 00006116  0C2C 0003 0022           cmpi.b     [A4 + 0x22], 0x3
  8997. 0000611C  663A                     bne        +0x3C /* 00006158 */
  8998. 0000611E  082A 0006 00AE           btst.b     [A2 + 0xAE], 0x6
  8999. 00006124  671A                     beq        +0x1C /* 00006140 */
  9000. 00006126  42A7                     clr.l      -[A7]
  9001. 00006128  2F0C                     move.l     -[A7], A4
  9002. 0000612A  102C 0021                move.b     D0, [A4 + 0x21]
  9003. 0000612E  4880                     ext.w      D0
  9004. 00006130  48C0                     ext.l      D0
  9005. 00006132  2F00                     move.l     -[A7], D0
  9006. 00006134  2F0A                     move.l     -[A7], A2
  9007. 00006136  2F0B                     move.l     -[A7], A3
  9008. 00006138  4EBA 0348                jsr        [PC + 0x348 /* 00006482 */]
  9009. 0000613C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9010. label00006140:
  9011. 00006140  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  9012. 00006144  4EAD DD88                jsr        [A5 - 0x2278]
  9013. 00006148  2F0C                     move.l     -[A7], A4
  9014. 0000614A  2F0B                     move.l     -[A7], A3
  9015. 0000614C  4EBA FC46                jsr        [PC - 0x3BA /* 00005D94 */]
  9016. 00006150  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9017. 00006154  6000 01D4                bra        +0x1D6 /* 0000632A */
  9018. label00006158:
  9019. 00006158  0C2C 0002 0022           cmpi.b     [A4 + 0x22], 0x2
  9020. 0000615E  6600 0096                bne        +0x98 /* 000061F6 */
  9021. 00006162  4EBA 1064                jsr        [PC + 0x1064 /* 000071C8 */]
  9022. 00006166  4A80                     tst.l      D0
  9023. 00006168  6708                     beq        +0xA /* 00006172 */
  9024. 0000616A  2F0A                     move.l     -[A7], A2
  9025. 0000616C  4EBA 0FAC                jsr        [PC + 0xFAC /* 0000711A */]
  9026. 00006170  584F                     addq.w     A7, 4
  9027. label00006172:
  9028. 00006172  082A 0005 00AE           btst.b     [A2 + 0xAE], 0x5
  9029. 00006178  671A                     beq        +0x1C /* 00006194 */
  9030. 0000617A  42A7                     clr.l      -[A7]
  9031. 0000617C  2F0C                     move.l     -[A7], A4
  9032. 0000617E  102C 0021                move.b     D0, [A4 + 0x21]
  9033. 00006182  4880                     ext.w      D0
  9034. 00006184  48C0                     ext.l      D0
  9035. 00006186  2F00                     move.l     -[A7], D0
  9036. 00006188  2F0A                     move.l     -[A7], A2
  9037. 0000618A  2F0B                     move.l     -[A7], A3
  9038. 0000618C  4EBA 02F4                jsr        [PC + 0x2F4 /* 00006482 */]
  9039. 00006190  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9040. label00006194:
  9041. 00006194  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  9042. 00006198  4EAD DD88                jsr        [A5 - 0x2278]
  9043. 0000619C  246B 0048                movea.l    A2, [A3 + 0x48]
  9044. 000061A0  584F                     addq.w     A7, 4
  9045. 000061A2  6022                     bra        +0x24 /* 000061C6 */
  9046. label000061A4:
  9047. 000061A4  302A 006C                move.w     D0, [A2 + 0x6C]
  9048. 000061A8  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  9049. 000061AC  6614                     bne        +0x16 /* 000061C2 */
  9050. 000061AE  2F0A                     move.l     -[A7], A2
  9051. 000061B0  4EAD E848                jsr        [A5 - 0x17B8]
  9052. 000061B4  1600                     move.b     D3, D0
  9053. 000061B6  4A03                     tst.b      D3
  9054. 000061B8  584F                     addq.w     A7, 4
  9055. 000061BA  670E                     beq        +0x10 /* 000061CA */
  9056. 000061BC  0C03 0002                cmpi.b     D3, 0x2
  9057. 000061C0  6708                     beq        +0xA /* 000061CA */
  9058. label000061C2:
  9059. 000061C2  246A 0090                movea.l    A2, [A2 + 0x90]
  9060. label000061C6:
  9061. 000061C6  200A                     move.l     D0, A2
  9062. 000061C8  66DA                     bne        -0x24 /* 000061A4 */
  9063. label000061CA:
  9064. 000061CA  200A                     move.l     D0, A2
  9065. 000061CC  6700 015C                beq        +0x15E /* 0000632A */
  9066. 000061D0  2F2F 0054                move.l     -[A7], [A7 + 0x54]
  9067. 000061D4  4227                     clr.b      -[A7]
  9068. 000061D6  082C 0004 0020           btst.b     [A4 + 0x20], 0x4
  9069. 000061DC  6604                     bne        +0x6 /* 000061E2 */
  9070. 000061DE  91C8                     sub.l      A0, A0
  9071. 000061E0  6004                     bra        +0x6 /* 000061E6 */
  9072. label000061E2:
  9073. 000061E2  206C 0008                movea.l    A0, [A4 + 0x8]
  9074. label000061E6:
  9075. 000061E6  4850                     pea.l      [A0]
  9076. 000061E8  2F0A                     move.l     -[A7], A2
  9077. 000061EA  4EBA ACB0                jsr        [PC - 0x5350 /* 00000E9C */]
  9078. 000061EE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9079. 000061F2  6000 0136                bra        +0x138 /* 0000632A */
  9080. label000061F6:
  9081. 000061F6  382A 00B2                move.w     D4, [A2 + 0xB2]
  9082. 000061FA  4A85                     tst.l      D5
  9083. 000061FC  6720                     beq        +0x22 /* 0000621E */
  9084. 000061FE  3F03                     move.w     -[A7], D3
  9085. 00006200  2F2C 0008                move.l     -[A7], [A4 + 0x8]
  9086. 00006204  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9087. 00006208  4EBA 0CAC                jsr        [PC + 0xCAC /* 00006EB6 */]
  9088. 0000620C  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  9089. 00006210  4EAD DD88                jsr        [A5 - 0x2278]
  9090. 00006214  4FEF 0066                lea.l      A7, [A7 + 0x66]
  9091. 00006218  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  9092. 0000621C  4E75                     rts
  9093. label0000621E:
  9094. 0000621E  082A 0006 00AE           btst.b     [A2 + 0xAE], 0x6
  9095. 00006224  671C                     beq        +0x1E /* 00006242 */
  9096. 00006226  486F 0004                pea.l      [A7 + 0x4]
  9097. 0000622A  2F0C                     move.l     -[A7], A4
  9098. 0000622C  102C 0021                move.b     D0, [A4 + 0x21]
  9099. 00006230  4880                     ext.w      D0
  9100. 00006232  48C0                     ext.l      D0
  9101. 00006234  2F00                     move.l     -[A7], D0
  9102. 00006236  2F0A                     move.l     -[A7], A2
  9103. 00006238  2F0B                     move.l     -[A7], A3
  9104. 0000623A  4EBA 0246                jsr        [PC + 0x246 /* 00006482 */]
  9105. 0000623E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9106. label00006242:
  9107. 00006242  4AAD B2D8                tst.l      [A5 - 0x4D28]
  9108. 00006246  6734                     beq        +0x36 /* 0000627C */
  9109. 00006248  3003                     move.w     D0, D3
  9110. 0000624A  48C0                     ext.l      D0
  9111. 0000624C  4A80                     tst.l      D0
  9112. 0000624E  6F2C                     ble        +0x2E /* 0000627C */
  9113. 00006250  B644                     cmp.w      D3, D4
  9114. 00006252  6728                     beq        +0x2A /* 0000627C */
  9115. 00006254  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  9116. 00006258  4EAD DD88                jsr        [A5 - 0x2278]
  9117. 0000625C  42A7                     clr.l      -[A7]
  9118. 0000625E  42A7                     clr.l      -[A7]
  9119. 00006260  2F2F 0054                move.l     -[A7], [A7 + 0x54]
  9120. 00006264  2F2F 0064                move.l     -[A7], [A7 + 0x64]
  9121. 00006268  3F03                     move.w     -[A7], D3
  9122. 0000626A  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9123. 0000626E  4EAD FF20                jsr        [A5 - 0xE0]
  9124. 00006272  4FEF 0072                lea.l      A7, [A7 + 0x72]
  9125. 00006276  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  9126. 0000627A  4E75                     rts
  9127. label0000627C:
  9128. 0000627C  486F 001C                pea.l      [A7 + 0x1C]
  9129. 00006280  486F 0054                pea.l      [A7 + 0x54]
  9130. 00006284  3F04                     move.w     -[A7], D4
  9131. 00006286  2F0B                     move.l     -[A7], A3
  9132. 00006288  4EBA 0786                jsr        [PC + 0x786 /* 00006A10 */]
  9133. 0000628C  2600                     move.l     D3, D0
  9134. 0000628E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9135. 00006292  6710                     beq        +0x12 /* 000062A4 */
  9136. 00006294  206F 0050                movea.l    A0, [A7 + 0x50]
  9137. 00006298  2F28 0048                move.l     -[A7], [A0 + 0x48]
  9138. 0000629C  4EAD DD40                jsr        [A5 - 0x22C0]
  9139. 000062A0  584F                     addq.w     A7, 4
  9140. 000062A2  6008                     bra        +0xA /* 000062AC */
  9141. label000062A4:
  9142. 000062A4  2F4B 0050                move.l     [A7 + 0x50], A3
  9143. 000062A8  2F4A 001C                move.l     [A7 + 0x1C], A2
  9144. label000062AC:
  9145. 000062AC  486F 0004                pea.l      [A7 + 0x4]
  9146. 000062B0  2F2F 0058                move.l     -[A7], [A7 + 0x58]
  9147. 000062B4  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  9148. 000062B8  2F2F 005C                move.l     -[A7], [A7 + 0x5C]
  9149. 000062BC  4EBA 007E                jsr        [PC + 0x7E /* 0000633C */]
  9150. 000062C0  2F54 0030                move.l     [A7 + 0x30], [A4]
  9151. 000062C4  2F6C 0004 0034           move.l     [A7 + 0x34], [A4 + 0x4]
  9152. 000062CA  102C 0021                move.b     D0, [A4 + 0x21]
  9153. 000062CE  4880                     ext.w      D0
  9154. 000062D0  48C0                     ext.l      D0
  9155. 000062D2  2F40 0038                move.l     [A7 + 0x38], D0
  9156. 000062D6  4AAB 0054                tst.l      [A3 + 0x54]
  9157. 000062DA  6704                     beq        +0x6 /* 000062E0 */
  9158. 000062DC  91C8                     sub.l      A0, A0
  9159. 000062DE  6004                     bra        +0x6 /* 000062E4 */
  9160. label000062E0:
  9161. 000062E0  41EF 0030                lea.l      A0, [A7 + 0x30]
  9162. label000062E4:
  9163. 000062E4  4850                     pea.l      [A0]
  9164. 000062E6  42A7                     clr.l      -[A7]
  9165. 000062E8  2F2F 0060                move.l     -[A7], [A7 + 0x60]
  9166. 000062EC  2F2F 0070                move.l     -[A7], [A7 + 0x70]
  9167. 000062F0  206F 0070                movea.l    A0, [A7 + 0x70]
  9168. 000062F4  2F28 0048                move.l     -[A7], [A0 + 0x48]
  9169. 000062F8  4EBA C27C                jsr        [PC - 0x3D84 /* 00002576 */]
  9170. 000062FC  206F 0074                movea.l    A0, [A7 + 0x74]
  9171. 00006300  2F28 0050                move.l     -[A7], [A0 + 0x50]
  9172. 00006304  4EAD DD88                jsr        [A5 - 0x2278]
  9173. 00006308  4A83                     tst.l      D3
  9174. 0000630A  4FEF 0028                lea.l      A7, [A7 + 0x28]
  9175. 0000630E  671A                     beq        +0x1C /* 0000632A */
  9176. 00006310  4EAD DD48                jsr        [A5 - 0x22B8]
  9177. 00006314  1F3C 0002                move.b     -[A7], 0x2
  9178. 00006318  42A7                     clr.l      -[A7]
  9179. 0000631A  206F 0056                movea.l    A0, [A7 + 0x56]
  9180. 0000631E  2F28 0048                move.l     -[A7], [A0 + 0x48]
  9181. 00006322  4EAD E830                jsr        [A5 - 0x17D0]
  9182. 00006326  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9183. label0000632A:
  9184. 0000632A  4878 002A                push.l     0x2A /* '*' */
  9185. 0000632E  201F                     move.l     D0, [A7]+
  9186. 00006330  A032                     syscall    FlushEvents
  9187. 00006332  4FEF 0058                lea.l      A7, [A7 + 0x58]
  9188. 00006336  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  9189. 0000633A  4E75                     rts
  9190. fn0000633C:
  9191. 0000633C  48E7 0030                movem.l    -[A7], A2,A3
  9192. 00006340  266F 000C                movea.l    A3, [A7 + 0xC]
  9193. 00006344  246F 0010                movea.l    A2, [A7 + 0x10]
  9194. 00006348  4EBA 0E7E                jsr        [PC + 0xE7E /* 000071C8 */]
  9195. 0000634C  4A80                     tst.l      D0
  9196. 0000634E  670E                     beq        +0x10 /* 0000635E */
  9197. 00006350  2F0A                     move.l     -[A7], A2
  9198. 00006352  4EBA 0DC6                jsr        [PC + 0xDC6 /* 0000711A */]
  9199. 00006356  584F                     addq.w     A7, 4
  9200. 00006358  4CDF 0C00                movem.l    A2,A3, [A7]+
  9201. 0000635C  4E75                     rts
  9202. label0000635E:
  9203. 0000635E  4A6D B48C                tst.w      [A5 - 0x4B74]
  9204. 00006362  6750                     beq        +0x52 /* 000063B4 */
  9205. 00006364  082A 0006 00AE           btst.b     [A2 + 0xAE], 0x6
  9206. 0000636A  6748                     beq        +0x4A /* 000063B4 */
  9207. 0000636C  1F3C 0001                move.b     -[A7], 0x1
  9208. 00006370  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9209. 00006374  4EAD E818                jsr        [A5 - 0x17E8]
  9210. 00006378  202F 001A                move.l     D0, [A7 + 0x1A]
  9211. 0000637C  B090                     cmp.l      D0, [A0]
  9212. 0000637E  5C4F                     addq.w     A7, 6
  9213. 00006380  6732                     beq        +0x34 /* 000063B4 */
  9214. 00006382  4EAD DD70                jsr        [A5 - 0x2290]
  9215. 00006386  486A 0018                pea.l      [A2 + 0x18]
  9216. 0000638A  2F0B                     move.l     -[A7], A3
  9217. 0000638C  4EBA 0D3A                jsr        [PC + 0xD3A /* 000070C8 */]
  9218. 00006390  4227                     clr.b      -[A7]
  9219. 00006392  2F0A                     move.l     -[A7], A2
  9220. 00006394  2F0B                     move.l     -[A7], A3
  9221. 00006396  4EBA 064A                jsr        [PC + 0x64A /* 000069E2 */]
  9222. 0000639A  42A7                     clr.l      -[A7]
  9223. 0000639C  486A 0018                pea.l      [A2 + 0x18]
  9224. 000063A0  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  9225. 000063A4  4EAD DB9E                jsr        [A5 - 0x2462]
  9226. 000063A8  4EAD DD58                jsr        [A5 - 0x22A8]
  9227. 000063AC  4EAD DD78                jsr        [A5 - 0x2288]
  9228. 000063B0  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  9229. label000063B4:
  9230. 000063B4  4CDF 0C00                movem.l    A2,A3, [A7]+
  9231. 000063B8  4E75                     rts
  9232. fn000063BA:
  9233. 000063BA  48E7 0030                movem.l    -[A7], A2,A3
  9234. 000063BE  246F 000C                movea.l    A2, [A7 + 0xC]
  9235. 000063C2  594F                     subq.w     A7, 4
  9236. 000063C4  A8D8                     syscall    NewRgn
  9237. 000063C6  205F                     movea.l    A0, [A7]+
  9238. 000063C8  2648                     movea.l    A3, A0
  9239. 000063CA  2008                     move.l     D0, A0
  9240. 000063CC  6772                     beq        +0x74 /* 00006440 */
  9241. 000063CE  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  9242. 000063D2  2F0B                     move.l     -[A7], A3
  9243. 000063D4  A8DC                     syscall    CopyRgn
  9244. 000063D6  2F0B                     move.l     -[A7], A3
  9245. 000063D8  4878 FFFF                push.l     0xFFFF
  9246. 000063DC  A8E1                     syscall    InsetRgn
  9247. 000063DE  4AAA 008E                tst.l      [A2 + 0x8E]
  9248. 000063E2  6728                     beq        +0x2A /* 0000640C */
  9249. 000063E4  2F0B                     move.l     -[A7], A3
  9250. 000063E6  3F2A 0012                move.w     -[A7], [A2 + 0x12]
  9251. 000063EA  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  9252. 000063EE  A8E0                     syscall    OffsetRgn/OfsetRgn
  9253. 000063F0  2F0B                     move.l     -[A7], A3
  9254. 000063F2  A927                     syscall    InvalRgn
  9255. 000063F4  2F0B                     move.l     -[A7], A3
  9256. 000063F6  302A 0012                move.w     D0, [A2 + 0x12]
  9257. 000063FA  48C0                     ext.l      D0
  9258. 000063FC  4480                     neg.l      D0
  9259. 000063FE  3F00                     move.w     -[A7], D0
  9260. 00006400  302A 0010                move.w     D0, [A2 + 0x10]
  9261. 00006404  48C0                     ext.l      D0
  9262. 00006406  4480                     neg.l      D0
  9263. 00006408  3F00                     move.w     -[A7], D0
  9264. 0000640A  A8E0                     syscall    OffsetRgn/OfsetRgn
  9265. label0000640C:
  9266. 0000640C  2F0B                     move.l     -[A7], A3
  9267. 0000640E  2F0A                     move.l     -[A7], A2
  9268. 00006410  4EBA 0034                jsr        [PC + 0x34 /* 00006446 */]
  9269. 00006414  4480                     neg.l      D0
  9270. 00006416  322A 0012                move.w     D1, [A2 + 0x12]
  9271. 0000641A  48C1                     ext.l      D1
  9272. 0000641C  D280                     add.l      D1, D0
  9273. 0000641E  584F                     addq.w     A7, 4
  9274. 00006420  3F01                     move.w     -[A7], D1
  9275. 00006422  2F0A                     move.l     -[A7], A2
  9276. 00006424  4EBA 003E                jsr        [PC + 0x3E /* 00006464 */]
  9277. 00006428  4480                     neg.l      D0
  9278. 0000642A  322A 0010                move.w     D1, [A2 + 0x10]
  9279. 0000642E  48C1                     ext.l      D1
  9280. 00006430  D280                     add.l      D1, D0
  9281. 00006432  584F                     addq.w     A7, 4
  9282. 00006434  3F01                     move.w     -[A7], D1
  9283. 00006436  A8E0                     syscall    OffsetRgn/OfsetRgn
  9284. 00006438  2F0B                     move.l     -[A7], A3
  9285. 0000643A  A927                     syscall    InvalRgn
  9286. 0000643C  2F0B                     move.l     -[A7], A3
  9287. 0000643E  A8D9                     syscall    DisposRgn/DisposeRgn
  9288. label00006440:
  9289. 00006440  4CDF 0C00                movem.l    A2,A3, [A7]+
  9290. 00006444  4E75                     rts
  9291. fn00006446:
  9292. 00006446  206F 0004                movea.l    A0, [A7 + 0x4]
  9293. 0000644A  4AA8 0096                tst.l      [A0 + 0x96]
  9294. 0000644E  6604                     bne        +0x6 /* 00006454 */
  9295. 00006450  7000                     moveq.l    D0, 0x00
  9296. 00006452  600E                     bra        +0x10 /* 00006462 */
  9297. label00006454:
  9298. 00006454  206F 0004                movea.l    A0, [A7 + 0x4]
  9299. 00006458  2F28 0096                move.l     -[A7], [A0 + 0x96]
  9300. 0000645C  4EBA B7AC                jsr        [PC - 0x4854 /* 00001C0A */]
  9301. 00006460  584F                     addq.w     A7, 4
  9302. label00006462:
  9303. 00006462  4E75                     rts
  9304. fn00006464:
  9305. 00006464  206F 0004                movea.l    A0, [A7 + 0x4]
  9306. 00006468  4AA8 009A                tst.l      [A0 + 0x9A]
  9307. 0000646C  6604                     bne        +0x6 /* 00006472 */
  9308. 0000646E  7000                     moveq.l    D0, 0x00
  9309. 00006470  600E                     bra        +0x10 /* 00006480 */
  9310. label00006472:
  9311. 00006472  206F 0004                movea.l    A0, [A7 + 0x4]
  9312. 00006476  2F28 009A                move.l     -[A7], [A0 + 0x9A]
  9313. 0000647A  4EBA B78E                jsr        [PC - 0x4872 /* 00001C0A */]
  9314. 0000647E  584F                     addq.w     A7, 4
  9315. label00006480:
  9316. 00006480  4E75                     rts
  9317. fn00006482:
  9318. 00006482  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  9319. 00006486  206F 0020                movea.l    A0, [A7 + 0x20]
  9320. 0000648A  2F50 0008                move.l     [A7 + 0x8], [A0]
  9321. 0000648E  2F68 0004 000C           move.l     [A7 + 0xC], [A0 + 0x4]
  9322. 00006494  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  9323. 00006498  486F 0004                pea.l      [A7 + 0x4]
  9324. 0000649C  486F 0010                pea.l      [A7 + 0x10]
  9325. 000064A0  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  9326. 000064A4  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  9327. 000064A8  4EBA F3D2                jsr        [PC - 0xC2E /* 0000587C */]
  9328. 000064AC  42A7                     clr.l      -[A7]
  9329. 000064AE  4EAD DD50                jsr        [A5 - 0x22B0]
  9330. 000064B2  486F 0018                pea.l      [A7 + 0x18]
  9331. 000064B6  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  9332. 000064BA  4EBA 01BE                jsr        [PC + 0x1BE /* 0000667A */]
  9333. 000064BE  486F 0028                pea.l      [A7 + 0x28]
  9334. 000064C2  4EBA 0B18                jsr        [PC + 0xB18 /* 00006FDC */]
  9335. 000064C6  4EAD DD58                jsr        [A5 - 0x22A8]
  9336. 000064CA  4AAF 0048                tst.l      [A7 + 0x48]
  9337. 000064CE  4FEF 0024                lea.l      A7, [A7 + 0x24]
  9338. 000064D2  670E                     beq        +0x10 /* 000064E2 */
  9339. 000064D4  206F 0024                movea.l    A0, [A7 + 0x24]
  9340. 000064D8  20AF 0008                move.l     [A0], [A7 + 0x8]
  9341. 000064DC  216F 000C 0004           move.l     [A0 + 0x4], [A7 + 0xC]
  9342. label000064E2:
  9343. 000064E2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9344. 000064E6  4E75                     rts
  9345. fn000064E8:
  9346. 000064E8  4A6D B48A                tst.w      [A5 - 0x4B76]
  9347. 000064EC  6714                     beq        +0x16 /* 00006502 */
  9348. 000064EE  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  9349. 000064F2  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  9350. 000064F6  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  9351. 000064FA  4EBA 0008                jsr        [PC + 0x8 /* 00006504 */]
  9352. 000064FE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9353. label00006502:
  9354. 00006502  4E75                     rts
  9355. fn00006504:
  9356. 00006504  48E7 0038                movem.l    -[A7], A2,A3,A4
  9357. 00006508  514F                     subq.w     A7, 8
  9358. 0000650A  246F 0018                movea.l    A2, [A7 + 0x18]
  9359. 0000650E  286F 001C                movea.l    A4, [A7 + 0x1C]
  9360. 00006512  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  9361. 00006516  4EAD F670                jsr        [A5 - 0x990]
  9362. 0000651A  2648                     movea.l    A3, A0
  9363. 0000651C  2008                     move.l     D0, A0
  9364. 0000651E  584F                     addq.w     A7, 4
  9365. 00006520  674E                     beq        +0x50 /* 00006570 */
  9366. 00006522  4227                     clr.b      -[A7]
  9367. 00006524  486F 0002                pea.l      [A7 + 0x2]
  9368. 00006528  2F0C                     move.l     -[A7], A4
  9369. 0000652A  2F0A                     move.l     -[A7], A2
  9370. 0000652C  4EBA E6A2                jsr        [PC - 0x195E /* 00004BD0 */]
  9371. 00006530  486F 000E                pea.l      [A7 + 0xE]
  9372. 00006534  4EAD DD50                jsr        [A5 - 0x22B0]
  9373. 00006538  42A7                     clr.l      -[A7]
  9374. 0000653A  42A7                     clr.l      -[A7]
  9375. 0000653C  2F0B                     move.l     -[A7], A3
  9376. 0000653E  4EAD F640                jsr        [A5 - 0x9C0]
  9377. 00006542  4EAD DD58                jsr        [A5 - 0x22A8]
  9378. 00006546  4AAF 003E                tst.l      [A7 + 0x3E]
  9379. 0000654A  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  9380. 0000654E  6714                     beq        +0x16 /* 00006564 */
  9381. 00006550  4878 0001                push.l     0x1
  9382. 00006554  2F2C 00A2                move.l     -[A7], [A4 + 0xA2]
  9383. 00006558  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  9384. 0000655C  4EAD E5F8                jsr        [A5 - 0x1A08]
  9385. 00006560  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9386. label00006564:
  9387. 00006564  1F3C 0002                move.b     -[A7], 0x2
  9388. 00006568  2F0A                     move.l     -[A7], A2
  9389. 0000656A  4EBA DB6E                jsr        [PC - 0x2492 /* 000040DA */]
  9390. 0000656E  5C4F                     addq.w     A7, 6
  9391. label00006570:
  9392. 00006570  504F                     addq.w     A7, 8
  9393. 00006572  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  9394. 00006576  4E75                     rts
  9395. fn00006578:
  9396. 00006578  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  9397. 0000657C  266F 0018                movea.l    A3, [A7 + 0x18]
  9398. 00006580  1F3C 0001                move.b     -[A7], 0x1
  9399. 00006584  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9400. 00006588  4EAD E818                jsr        [A5 - 0x17E8]
  9401. 0000658C  2C48                     movea.l    A6, A0
  9402. 0000658E  1F3C 0007                move.b     -[A7], 0x7
  9403. 00006592  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9404. 00006596  4EAD E818                jsr        [A5 - 0x17E8]
  9405. 0000659A  2848                     movea.l    A4, A0
  9406. 0000659C  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  9407. 000065A0  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  9408. 000065A4  2F0B                     move.l     -[A7], A3
  9409. 000065A6  4EBA FF5C                jsr        [PC - 0xA4 /* 00006504 */]
  9410. 000065AA  3014                     move.w     D0, [A4]
  9411. 000065AC  48C0                     ext.l      D0
  9412. 000065AE  4A80                     tst.l      D0
  9413. 000065B0  4FEF 0018                lea.l      A7, [A7 + 0x18]
  9414. 000065B4  6D36                     blt        +0x38 /* 000065EC */
  9415. 000065B6  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9416. 000065BA  4EAD F690                jsr        [A5 - 0x970]
  9417. 000065BE  2448                     movea.l    A2, A0
  9418. 000065C0  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  9419. 000065C4  301F                     move.w     D0, [A7]+
  9420. 000065C6  3600                     move.w     D3, D0
  9421. 000065C8  544F                     addq.w     A7, 2
  9422. 000065CA  6610                     bne        +0x12 /* 000065DC */
  9423. 000065CC  2F0A                     move.l     -[A7], A2
  9424. 000065CE  2F16                     move.l     -[A7], [A6]
  9425. 000065D0  3F14                     move.w     -[A7], [A4]
  9426. 000065D2  4EAD E1D8                jsr        [A5 - 0x1E28]
  9427. 000065D6  3600                     move.w     D3, D0
  9428. 000065D8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9429. label000065DC:
  9430. 000065DC  4A43                     tst.w      D3
  9431. 000065DE  670C                     beq        +0xE /* 000065EC */
  9432. 000065E0  3F03                     move.w     -[A7], D3
  9433. 000065E2  3F3C 0005                move.w     -[A7], 0x5
  9434. 000065E6  4EAD DE98                jsr        [A5 - 0x2168]
  9435. 000065EA  584F                     addq.w     A7, 4
  9436. label000065EC:
  9437. 000065EC  4AAF 0024                tst.l      [A7 + 0x24]
  9438. 000065F0  670A                     beq        +0xC /* 000065FC */
  9439. 000065F2  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9440. 000065F6  4EAD F688                jsr        [A5 - 0x978]
  9441. 000065FA  584F                     addq.w     A7, 4
  9442. label000065FC:
  9443. 000065FC  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9444. 00006600  4E75                     rts
  9445. fn00006602:
  9446. 00006602  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  9447. 00006606  594F                     subq.w     A7, 4
  9448. 00006608  266F 0018                movea.l    A3, [A7 + 0x18]
  9449. 0000660C  4297                     clr.l      [A7]
  9450. 0000660E  1F3C 0001                move.b     -[A7], 0x1
  9451. 00006612  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9452. 00006616  4EAD E818                jsr        [A5 - 0x17E8]
  9453. 0000661A  2848                     movea.l    A4, A0
  9454. 0000661C  1F3C 0007                move.b     -[A7], 0x7
  9455. 00006620  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9456. 00006624  4EAD E818                jsr        [A5 - 0x17E8]
  9457. 00006628  2448                     movea.l    A2, A0
  9458. 0000662A  3012                     move.w     D0, [A2]
  9459. 0000662C  48C0                     ext.l      D0
  9460. 0000662E  4A80                     tst.l      D0
  9461. 00006630  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9462. 00006634  6D3C                     blt        +0x3E /* 00006672 */
  9463. 00006636  4857                     pea.l      [A7]
  9464. 00006638  2F14                     move.l     -[A7], [A4]
  9465. 0000663A  3F12                     move.w     -[A7], [A2]
  9466. 0000663C  4EAD E1D0                jsr        [A5 - 0x1E30]
  9467. 00006640  3600                     move.w     D3, D0
  9468. 00006642  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9469. 00006646  6612                     bne        +0x14 /* 0000665A */
  9470. 00006648  4A97                     tst.l      [A7]
  9471. 0000664A  6726                     beq        +0x28 /* 00006672 */
  9472. 0000664C  2F17                     move.l     -[A7], [A7]
  9473. 0000664E  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9474. 00006652  4EAD F698                jsr        [A5 - 0x968]
  9475. 00006656  3600                     move.w     D3, D0
  9476. 00006658  504F                     addq.w     A7, 8
  9477. label0000665A:
  9478. 0000665A  4A97                     tst.l      [A7]
  9479. 0000665C  6704                     beq        +0x6 /* 00006662 */
  9480. 0000665E  2057                     movea.l    A0, [A7]
  9481. 00006660  A023                     syscall    DisposHandle/DisposeHandle
  9482. label00006662:
  9483. 00006662  4A43                     tst.w      D3
  9484. 00006664  670C                     beq        +0xE /* 00006672 */
  9485. 00006666  3F03                     move.w     -[A7], D3
  9486. 00006668  3F3C 0006                move.w     -[A7], 0x6
  9487. 0000666C  4EAD DE98                jsr        [A5 - 0x2168]
  9488. 00006670  584F                     addq.w     A7, 4
  9489. label00006672:
  9490. 00006672  584F                     addq.w     A7, 4
  9491. 00006674  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  9492. 00006678  4E75                     rts
  9493. fn0000667A:
  9494. 0000667A  48E7 0038                movem.l    -[A7], A2,A3,A4
  9495. 0000667E  286F 0010                movea.l    A4, [A7 + 0x10]
  9496. 00006682  266F 0014                movea.l    A3, [A7 + 0x14]
  9497. 00006686  594F                     subq.w     A7, 4
  9498. 00006688  A8D8                     syscall    NewRgn
  9499. 0000668A  205F                     movea.l    A0, [A7]+
  9500. 0000668C  2448                     movea.l    A2, A0
  9501. 0000668E  2008                     move.l     D0, A0
  9502. 00006690  660A                     bne        +0xC /* 0000669C */
  9503. 00006692  2F0B                     move.l     -[A7], A3
  9504. 00006694  A87B                     syscall    ClipRect
  9505. 00006696  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  9506. 0000669A  4E75                     rts
  9507. label0000669C:
  9508. 0000669C  2F0A                     move.l     -[A7], A2
  9509. 0000669E  2F0B                     move.l     -[A7], A3
  9510. 000066A0  A8DF                     syscall    RectRgn
  9511. 000066A2  4A6D B48A                tst.w      [A5 - 0x4B76]
  9512. 000066A6  671E                     beq        +0x20 /* 000066C6 */
  9513. 000066A8  42A7                     clr.l      -[A7]
  9514. 000066AA  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  9515. 000066AE  4EAD F678                jsr        [A5 - 0x988]
  9516. 000066B2  2648                     movea.l    A3, A0
  9517. 000066B4  2008                     move.l     D0, A0
  9518. 000066B6  504F                     addq.w     A7, 8
  9519. 000066B8  670C                     beq        +0xE /* 000066C6 */
  9520. 000066BA  2F0A                     move.l     -[A7], A2
  9521. 000066BC  2F0B                     move.l     -[A7], A3
  9522. 000066BE  2F0A                     move.l     -[A7], A2
  9523. 000066C0  A8E6                     syscall    DiffRgn
  9524. 000066C2  2F0B                     move.l     -[A7], A3
  9525. 000066C4  A8D9                     syscall    DisposRgn/DisposeRgn
  9526. label000066C6:
  9527. 000066C6  2F0C                     move.l     -[A7], A4
  9528. 000066C8  4EBA 098E                jsr        [PC + 0x98E /* 00007058 */]
  9529. 000066CC  2648                     movea.l    A3, A0
  9530. 000066CE  200B                     move.l     D0, A3
  9531. 000066D0  584F                     addq.w     A7, 4
  9532. 000066D2  670C                     beq        +0xE /* 000066E0 */
  9533. 000066D4  2F0A                     move.l     -[A7], A2
  9534. 000066D6  2F0B                     move.l     -[A7], A3
  9535. 000066D8  2F0A                     move.l     -[A7], A2
  9536. 000066DA  A8E6                     syscall    DiffRgn
  9537. 000066DC  2F0B                     move.l     -[A7], A3
  9538. 000066DE  A8D9                     syscall    DisposRgn/DisposeRgn
  9539. label000066E0:
  9540. 000066E0  2F0A                     move.l     -[A7], A2
  9541. 000066E2  A879                     syscall    SetClip
  9542. 000066E4  2F0A                     move.l     -[A7], A2
  9543. 000066E6  A8D9                     syscall    DisposRgn/DisposeRgn
  9544. 000066E8  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  9545. 000066EC  4E75                     rts
  9546. fn000066EE:
  9547. 000066EE  2F0A                     move.l     -[A7], A2
  9548. 000066F0  514F                     subq.w     A7, 8
  9549. 000066F2  246F 0010                movea.l    A2, [A7 + 0x10]
  9550. 000066F6  4A6D B48A                tst.w      [A5 - 0x4B76]
  9551. 000066FA  672A                     beq        +0x2C /* 00006726 */
  9552. 000066FC  4227                     clr.b      -[A7]
  9553. 000066FE  486F 0002                pea.l      [A7 + 0x2]
  9554. 00006702  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  9555. 00006706  2F0A                     move.l     -[A7], A2
  9556. 00006708  4EBA E4C6                jsr        [PC - 0x1B3A /* 00004BD0 */]
  9557. 0000670C  486F 000E                pea.l      [A7 + 0xE]
  9558. 00006710  2F0A                     move.l     -[A7], A2
  9559. 00006712  4EBA 09B4                jsr        [PC + 0x9B4 /* 000070C8 */]
  9560. 00006716  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  9561. 0000671A  4EAD F638                jsr        [A5 - 0x9C8]
  9562. 0000671E  4EAD DD58                jsr        [A5 - 0x22A8]
  9563. 00006722  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  9564. label00006726:
  9565. 00006726  504F                     addq.w     A7, 8
  9566. 00006728  245F                     movea.l    A2, [A7]+
  9567. 0000672A  4E75                     rts
  9568. 0000672C  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  9569. 00006730  514F                     subq.w     A7, 8
  9570. 00006732  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  9571. 00006736  286F 0020                movea.l    A4, [A7 + 0x20]
  9572. 0000673A  4227                     clr.b      -[A7]
  9573. 0000673C  4878 FF9C                push.l     0xFF9C
  9574. 00006740  2F0E                     move.l     -[A7], A6
  9575. 00006742  4EAD E830                jsr        [A5 - 0x17D0]
  9576. 00006746  2448                     movea.l    A2, A0
  9577. 00006748  200A                     move.l     D0, A2
  9578. 0000674A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9579. 0000674E  673A                     beq        +0x3C /* 0000678A */
  9580. 00006750  4AAA 0050                tst.l      [A2 + 0x50]
  9581. 00006754  6734                     beq        +0x36 /* 0000678A */
  9582. 00006756  594F                     subq.w     A7, 4
  9583. 00006758  A8D8                     syscall    NewRgn
  9584. 0000675A  205F                     movea.l    A0, [A7]+
  9585. 0000675C  2648                     movea.l    A3, A0
  9586. 0000675E  2008                     move.l     D0, A0
  9587. 00006760  6724                     beq        +0x26 /* 00006786 */
  9588. 00006762  206A 0050                movea.l    A0, [A2 + 0x50]
  9589. 00006766  2050                     movea.l    A0, [A0]
  9590. 00006768  2EA8 0018                move.l     [A7], [A0 + 0x18]
  9591. 0000676C  2F68 001C 0004           move.l     [A7 + 0x4], [A0 + 0x1C]
  9592. 00006772  2F0B                     move.l     -[A7], A3
  9593. 00006774  486F 0004                pea.l      [A7 + 0x4]
  9594. 00006778  A8DF                     syscall    RectRgn
  9595. 0000677A  2F0C                     move.l     -[A7], A4
  9596. 0000677C  2F0B                     move.l     -[A7], A3
  9597. 0000677E  2F0C                     move.l     -[A7], A4
  9598. 00006780  A8E4                     syscall    SectRgn
  9599. 00006782  2F0B                     move.l     -[A7], A3
  9600. 00006784  A8D9                     syscall    DisposRgn/DisposeRgn
  9601. label00006786:
  9602. 00006786  2F0C                     move.l     -[A7], A4
  9603. 00006788  A927                     syscall    InvalRgn
  9604. label0000678A:
  9605. 0000678A  1F3C 0002                move.b     -[A7], 0x2
  9606. 0000678E  42A7                     clr.l      -[A7]
  9607. 00006790  2F0E                     move.l     -[A7], A6
  9608. 00006792  4EAD E830                jsr        [A5 - 0x17D0]
  9609. 00006796  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9610. 0000679A  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  9611. 0000679E  4E75                     rts
  9612. 000067A0  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  9613. 000067A4  594F                     subq.w     A7, 4
  9614. 000067A6  2C6F 0028                movea.l    A6, [A7 + 0x28]
  9615. 000067AA  286F 002C                movea.l    A4, [A7 + 0x2C]
  9616. 000067AE  7A00                     moveq.l    D5, 0x00
  9617. 000067B0  4857                     pea.l      [A7]
  9618. 000067B2  A874                     syscall    GetPort
  9619. 000067B4  4227                     clr.b      -[A7]
  9620. 000067B6  4878 FF9C                push.l     0xFF9C
  9621. 000067BA  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  9622. 000067BE  4EAD E830                jsr        [A5 - 0x17D0]
  9623. 000067C2  2648                     movea.l    A3, A0
  9624. 000067C4  200B                     move.l     D0, A3
  9625. 000067C6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9626. 000067CA  6700 011A                beq        +0x11C /* 000068E6 */
  9627. 000067CE  4AAB 0050                tst.l      [A3 + 0x50]
  9628. 000067D2  6700 0112                beq        +0x114 /* 000068E6 */
  9629. 000067D6  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  9630. 000067DA  4EAD DD80                jsr        [A5 - 0x2280]
  9631. 000067DE  2448                     movea.l    A2, A0
  9632. 000067E0  4AAA 0096                tst.l      [A2 + 0x96]
  9633. 000067E4  584F                     addq.w     A7, 4
  9634. 000067E6  6700 00F4                beq        +0xF6 /* 000068DC */
  9635. 000067EA  4AAA 009A                tst.l      [A2 + 0x9A]
  9636. 000067EE  6700 00EC                beq        +0xEE /* 000068DC */
  9637. 000067F2  302F 0026                move.w     D0, [A7 + 0x26]
  9638. 000067F6  B06E 0002                cmp.w      D0, [A6 + 0x2]
  9639. 000067FA  6C04                     bge        +0x6 /* 00006800 */
  9640. 000067FC  76EE                     moveq.l    D3, 0xFFFFFFEE
  9641. 000067FE  6010                     bra        +0x12 /* 00006810 */
  9642. label00006800:
  9643. 00006800  302F 0026                move.w     D0, [A7 + 0x26]
  9644. 00006804  B06E 0006                cmp.w      D0, [A6 + 0x6]
  9645. 00006808  6F04                     ble        +0x6 /* 0000680E */
  9646. 0000680A  7612                     moveq.l    D3, 0x12
  9647. 0000680C  6002                     bra        +0x4 /* 00006810 */
  9648. label0000680E:
  9649. 0000680E  7600                     moveq.l    D3, 0x00
  9650. label00006810:
  9651. 00006810  302F 0024                move.w     D0, [A7 + 0x24]
  9652. 00006814  B056                     cmp.w      D0, [A6]
  9653. 00006816  6C04                     bge        +0x6 /* 0000681C */
  9654. 00006818  78EE                     moveq.l    D4, 0xFFFFFFEE
  9655. 0000681A  6010                     bra        +0x12 /* 0000682C */
  9656. label0000681C:
  9657. 0000681C  302F 0024                move.w     D0, [A7 + 0x24]
  9658. 00006820  B06E 0004                cmp.w      D0, [A6 + 0x4]
  9659. 00006824  6F04                     ble        +0x6 /* 0000682A */
  9660. 00006826  7812                     moveq.l    D4, 0x12
  9661. 00006828  6002                     bra        +0x4 /* 0000682C */
  9662. label0000682A:
  9663. 0000682A  7800                     moveq.l    D4, 0x00
  9664. label0000682C:
  9665. 0000682C  4A83                     tst.l      D3
  9666. 0000682E  670E                     beq        +0x10 /* 0000683E */
  9667. 00006830  2F03                     move.l     -[A7], D3
  9668. 00006832  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  9669. 00006836  4EBA EE44                jsr        [PC - 0x11BC /* 0000567C */]
  9670. 0000683A  2600                     move.l     D3, D0
  9671. 0000683C  504F                     addq.w     A7, 8
  9672. label0000683E:
  9673. 0000683E  4A84                     tst.l      D4
  9674. 00006840  670E                     beq        +0x10 /* 00006850 */
  9675. 00006842  2F04                     move.l     -[A7], D4
  9676. 00006844  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  9677. 00006848  4EBA EE32                jsr        [PC - 0x11CE /* 0000567C */]
  9678. 0000684C  2800                     move.l     D4, D0
  9679. 0000684E  504F                     addq.w     A7, 8
  9680. label00006850:
  9681. 00006850  4A83                     tst.l      D3
  9682. 00006852  6606                     bne        +0x8 /* 0000685A */
  9683. 00006854  4A84                     tst.l      D4
  9684. 00006856  6700 0084                beq        +0x86 /* 000068DC */
  9685. label0000685A:
  9686. 0000685A  200C                     move.l     D0, A4
  9687. 0000685C  6704                     beq        +0x6 /* 00006862 */
  9688. 0000685E  2F0C                     move.l     -[A7], A4
  9689. 00006860  A8D2                     syscall    FrameRgn
  9690. label00006862:
  9691. 00006862  4EAD DD70                jsr        [A5 - 0x2290]
  9692. 00006866  A89E                     syscall    PenNormal
  9693. 00006868  2057                     movea.l    A0, [A7]
  9694. 0000686A  4868 0010                pea.l      [A0 + 0x10]
  9695. 0000686E  4EAD DD50                jsr        [A5 - 0x22B0]
  9696. 00006872  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  9697. 00006876  4EBA B392                jsr        [PC - 0x4C6E /* 00001C0A */]
  9698. 0000687A  D083                     add.l      D0, D3
  9699. 0000687C  584F                     addq.w     A7, 4
  9700. 0000687E  2F00                     move.l     -[A7], D0
  9701. 00006880  2F2A 0096                move.l     -[A7], [A2 + 0x96]
  9702. 00006884  4EBA B3A8                jsr        [PC - 0x4C58 /* 00001C2E */]
  9703. 00006888  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  9704. 0000688C  4EBA B37C                jsr        [PC - 0x4C84 /* 00001C0A */]
  9705. 00006890  D084                     add.l      D0, D4
  9706. 00006892  584F                     addq.w     A7, 4
  9707. 00006894  2F00                     move.l     -[A7], D0
  9708. 00006896  2F2A 009A                move.l     -[A7], [A2 + 0x9A]
  9709. 0000689A  4EBA B392                jsr        [PC - 0x4C6E /* 00001C2E */]
  9710. 0000689E  4EAD DD58                jsr        [A5 - 0x22A8]
  9711. 000068A2  4878 0001                push.l     0x1
  9712. 000068A6  2004                     move.l     D0, D4
  9713. 000068A8  4480                     neg.l      D0
  9714. 000068AA  2F00                     move.l     -[A7], D0
  9715. 000068AC  2003                     move.l     D0, D3
  9716. 000068AE  4480                     neg.l      D0
  9717. 000068B0  2F00                     move.l     -[A7], D0
  9718. 000068B2  2F0A                     move.l     -[A7], A2
  9719. 000068B4  2F0B                     move.l     -[A7], A3
  9720. 000068B6  4EBA EE0E                jsr        [PC - 0x11F2 /* 000056C6 */]
  9721. 000068BA  4EAD DD78                jsr        [A5 - 0x2288]
  9722. 000068BE  200C                     move.l     D0, A4
  9723. 000068C0  4FEF 0028                lea.l      A7, [A7 + 0x28]
  9724. 000068C4  6704                     beq        +0x6 /* 000068CA */
  9725. 000068C6  2F0C                     move.l     -[A7], A4
  9726. 000068C8  A8D2                     syscall    FrameRgn
  9727. label000068CA:
  9728. 000068CA  2A03                     move.l     D5, D3
  9729. 000068CC  4485                     neg.l      D5
  9730. 000068CE  7200                     moveq.l    D1, 0x00
  9731. 000068D0  3205                     move.w     D1, D5
  9732. 000068D2  2A04                     move.l     D5, D4
  9733. 000068D4  4485                     neg.l      D5
  9734. 000068D6  7410                     moveq.l    D2, 0x10
  9735. 000068D8  E5AD                     lsl        D5, D2
  9736. 000068DA  8A81                     or.l       D5, D1
  9737. label000068DC:
  9738. 000068DC  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  9739. 000068E0  4EAD DD88                jsr        [A5 - 0x2278]
  9740. 000068E4  584F                     addq.w     A7, 4
  9741. label000068E6:
  9742. 000068E6  1F3C 0002                move.b     -[A7], 0x2
  9743. 000068EA  42A7                     clr.l      -[A7]
  9744. 000068EC  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  9745. 000068F0  4EAD E830                jsr        [A5 - 0x17D0]
  9746. 000068F4  2005                     move.l     D0, D5
  9747. 000068F6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9748. 000068FA  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  9749. 000068FE  4E75                     rts
  9750. fn00006900:
  9751. 00006900  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  9752. 00006904  4FEF FFEE                lea.l      A7, [A7 - 0x12]
  9753. 00006908  266F 002A                movea.l    A3, [A7 + 0x2A]
  9754. 0000690C  2C6F 002E                movea.l    A6, [A7 + 0x2E]
  9755. 00006910  162F 0032                move.b     D3, [A7 + 0x32]
  9756. 00006914  246F 0034                movea.l    A2, [A7 + 0x34]
  9757. 00006918  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9758. 0000691C  4EAD E848                jsr        [A5 - 0x17B8]
  9759. 00006920  5300                     subq.b     D0, 1
  9760. 00006922  584F                     addq.w     A7, 4
  9761. 00006924  6614                     bne        +0x16 /* 0000693A */
  9762. 00006926  24AE 0020                move.l     [A2], [A6 + 0x20]
  9763. 0000692A  356E 0024 0004           move.w     [A2 + 0x4], [A6 + 0x24]
  9764. 00006930  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9765. 00006934  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9766. 00006938  4E75                     rts
  9767. label0000693A:
  9768. 0000693A  4AAB 0054                tst.l      [A3 + 0x54]
  9769. 0000693E  6676                     bne        +0x78 /* 000069B6 */
  9770. 00006940  1F3C 0009                move.b     -[A7], 0x9 /* '\t' */
  9771. 00006944  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9772. 00006948  4EAD E818                jsr        [A5 - 0x17E8]
  9773. 0000694C  2848                     movea.l    A4, A0
  9774. 0000694E  42A7                     clr.l      -[A7]
  9775. 00006950  486F 000A                pea.l      [A7 + 0xA]
  9776. 00006954  486F 0014                pea.l      [A7 + 0x14]
  9777. 00006958  486F 001E                pea.l      [A7 + 0x1E]
  9778. 0000695C  2F14                     move.l     -[A7], [A4]
  9779. 0000695E  3F2E 00B2                move.w     -[A7], [A6 + 0xB2]
  9780. 00006962  4EAD E2E8                jsr        [A5 - 0x1D18]
  9781. 00006966  42A7                     clr.l      -[A7]
  9782. 00006968  486F 0020                pea.l      [A7 + 0x20]
  9783. 0000696C  486F 002A                pea.l      [A7 + 0x2A]
  9784. 00006970  486F 0034                pea.l      [A7 + 0x34]
  9785. 00006974  2F14                     move.l     -[A7], [A4]
  9786. 00006976  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  9787. 0000697A  4EAD E8B0                jsr        [A5 - 0x1750]
  9788. 0000697E  7000                     moveq.l    D0, 0x00
  9789. 00006980  1003                     move.b     D0, D3
  9790. 00006982  4FEF 0034                lea.l      A7, [A7 + 0x34]
  9791. 00006986  4A80                     tst.l      D0
  9792. 00006988  670A                     beq        +0xC /* 00006994 */
  9793. 0000698A  5380                     subq.l     D0, 1
  9794. 0000698C  6712                     beq        +0x14 /* 000069A0 */
  9795. 0000698E  5380                     subq.l     D0, 1
  9796. 00006990  671A                     beq        +0x1C /* 000069AC */
  9797. 00006992  6044                     bra        +0x46 /* 000069D8 */
  9798. label00006994:
  9799. 00006994  24AF 000C                move.l     [A2], [A7 + 0xC]
  9800. 00006998  356F 0010 0004           move.w     [A2 + 0x4], [A7 + 0x10]
  9801. 0000699E  6038                     bra        +0x3A /* 000069D8 */
  9802. label000069A0:
  9803. 000069A0  24AF 0006                move.l     [A2], [A7 + 0x6]
  9804. 000069A4  356F 000A 0004           move.w     [A2 + 0x4], [A7 + 0xA]
  9805. 000069AA  602C                     bra        +0x2E /* 000069D8 */
  9806. label000069AC:
  9807. 000069AC  2497                     move.l     [A2], [A7]
  9808. 000069AE  356F 0004 0004           move.w     [A2 + 0x4], [A7 + 0x4]
  9809. 000069B4  6022                     bra        +0x24 /* 000069D8 */
  9810. label000069B6:
  9811. 000069B6  0C03 0001                cmpi.b     D3, 0x1
  9812. 000069BA  660C                     bne        +0xE /* 000069C8 */
  9813. 000069BC  24AE 0036                move.l     [A2], [A6 + 0x36]
  9814. 000069C0  356E 003A 0004           move.w     [A2 + 0x4], [A6 + 0x3A]
  9815. 000069C6  6010                     bra        +0x12 /* 000069D8 */
  9816. label000069C8:
  9817. 000069C8  357C FFFF 0004           move.w     [A2 + 0x4], 0xFFFF
  9818. 000069CE  357C FFFF 0002           move.w     [A2 + 0x2], 0xFFFF
  9819. 000069D4  34BC FFFF                move.w     [A2], 0xFFFF
  9820. label000069D8:
  9821. 000069D8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9822. 000069DC  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9823. 000069E0  4E75                     rts
  9824. fn000069E2:
  9825. 000069E2  5D4F                     subq.w     A7, 6
  9826. 000069E4  7000                     moveq.l    D0, 0x00
  9827. 000069E6  102D 81A0                move.b     D0, [A5 - 0x7E60]
  9828. 000069EA  7202                     moveq.l    D1, 0x02
  9829. 000069EC  B081                     cmp.l      D0, D1
  9830. 000069EE  6D1C                     blt        +0x1E /* 00006A0C */
  9831. 000069F0  4857                     pea.l      [A7]
  9832. 000069F2  1F2F 0016                move.b     -[A7], [A7 + 0x16]
  9833. 000069F6  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  9834. 000069FA  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  9835. 000069FE  4EBA FF00                jsr        [PC - 0x100 /* 00006900 */]
  9836. 00006A02  486F 000E                pea.l      [A7 + 0xE]
  9837. 00006A06  AA15                     syscall    RGBBackColor
  9838. 00006A08  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9839. label00006A0C:
  9840. 00006A0C  5C4F                     addq.w     A7, 6
  9841. 00006A0E  4E75                     rts
  9842. fn00006A10:
  9843. 00006A10  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  9844. 00006A14  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  9845. 00006A18  362F 0020                move.w     D3, [A7 + 0x20]
  9846. 00006A1C  282F 0022                move.l     D4, [A7 + 0x22]
  9847. 00006A20  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  9848. 00006A24  4EAD E848                jsr        [A5 - 0x17B8]
  9849. 00006A28  5300                     subq.b     D0, 1
  9850. 00006A2A  584F                     addq.w     A7, 4
  9851. 00006A2C  666E                     bne        +0x70 /* 00006A9C */
  9852. 00006A2E  99CC                     sub.l      A4, A4
  9853. 00006A30  97CB                     sub.l      A3, A3
  9854. 00006A32  594F                     subq.w     A7, 4
  9855. 00006A34  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  9856. 00006A38  4E90                     jsr        [A0]
  9857. 00006A3A  205F                     movea.l    A0, [A7]+
  9858. 00006A3C  2448                     movea.l    A2, A0
  9859. 00006A3E  603E                     bra        +0x40 /* 00006A7E */
  9860. label00006A40:
  9861. 00006A40  302A 006C                move.w     D0, [A2 + 0x6C]
  9862. 00006A44  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  9863. 00006A48  6630                     bne        +0x32 /* 00006A7A */
  9864. 00006A4A  2F0A                     move.l     -[A7], A2
  9865. 00006A4C  4EAD E848                jsr        [A5 - 0x17B8]
  9866. 00006A50  4A00                     tst.b      D0
  9867. 00006A52  584F                     addq.w     A7, 4
  9868. 00006A54  6616                     bne        +0x18 /* 00006A6C */
  9869. 00006A56  1F3C 0006                move.b     -[A7], 0x6
  9870. 00006A5A  2F0A                     move.l     -[A7], A2
  9871. 00006A5C  4EAD E818                jsr        [A5 - 0x17E8]
  9872. 00006A60  B650                     cmp.w      D3, [A0]
  9873. 00006A62  5C4F                     addq.w     A7, 6
  9874. 00006A64  671C                     beq        +0x1E /* 00006A82 */
  9875. 00006A66  200B                     move.l     D0, A3
  9876. 00006A68  6602                     bne        +0x4 /* 00006A6C */
  9877. 00006A6A  264A                     movea.l    A3, A2
  9878. label00006A6C:
  9879. 00006A6C  2F0A                     move.l     -[A7], A2
  9880. 00006A6E  4EAD E848                jsr        [A5 - 0x17B8]
  9881. 00006A72  5500                     subq.b     D0, 2
  9882. 00006A74  584F                     addq.w     A7, 4
  9883. 00006A76  6602                     bne        +0x4 /* 00006A7A */
  9884. 00006A78  284A                     movea.l    A4, A2
  9885. label00006A7A:
  9886. 00006A7A  246A 0090                movea.l    A2, [A2 + 0x90]
  9887. label00006A7E:
  9888. 00006A7E  200A                     move.l     D0, A2
  9889. 00006A80  66BE                     bne        -0x40 /* 00006A40 */
  9890. label00006A82:
  9891. 00006A82  200A                     move.l     D0, A2
  9892. 00006A84  6608                     bne        +0xA /* 00006A8E */
  9893. 00006A86  244C                     movea.l    A2, A4
  9894. 00006A88  200C                     move.l     D0, A4
  9895. 00006A8A  6602                     bne        +0x4 /* 00006A8E */
  9896. 00006A8C  244B                     movea.l    A2, A3
  9897. label00006A8E:
  9898. 00006A8E  200A                     move.l     D0, A2
  9899. 00006A90  671C                     beq        +0x1E /* 00006AAE */
  9900. 00006A92  2F0A                     move.l     -[A7], A2
  9901. 00006A94  4EBA ABA0                jsr        [PC - 0x5460 /* 00001636 */]
  9902. 00006A98  584F                     addq.w     A7, 4
  9903. 00006A9A  6012                     bra        +0x14 /* 00006AAE */
  9904. label00006A9C:
  9905. 00006A9C  4AAE 0054                tst.l      [A6 + 0x54]
  9906. 00006AA0  6608                     bne        +0xA /* 00006AAA */
  9907. 00006AA2  7000                     moveq.l    D0, 0x00
  9908. 00006AA4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  9909. 00006AA8  4E75                     rts
  9910. label00006AAA:
  9911. 00006AAA  246E 0048                movea.l    A2, [A6 + 0x48]
  9912. label00006AAE:
  9913. 00006AAE  200A                     move.l     D0, A2
  9914. 00006AB0  6608                     bne        +0xA /* 00006ABA */
  9915. 00006AB2  7000                     moveq.l    D0, 0x00
  9916. 00006AB4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  9917. 00006AB8  4E75                     rts
  9918. label00006ABA:
  9919. 00006ABA  2F2E 0050                move.l     -[A7], [A6 + 0x50]
  9920. 00006ABE  4EAD DD88                jsr        [A5 - 0x2278]
  9921. 00006AC2  4227                     clr.b      -[A7]
  9922. 00006AC4  4878 FF9C                push.l     0xFF9C
  9923. 00006AC8  2F0A                     move.l     -[A7], A2
  9924. 00006ACA  4EAD E830                jsr        [A5 - 0x17D0]
  9925. 00006ACE  2244                     movea.l    A1, D4
  9926. 00006AD0  2288                     move.l     [A1], A0
  9927. 00006AD2  2044                     movea.l    A0, D4
  9928. 00006AD4  2050                     movea.l    A0, [A0]
  9929. 00006AD6  2F28 0050                move.l     -[A7], [A0 + 0x50]
  9930. 00006ADA  4EAD DD80                jsr        [A5 - 0x2280]
  9931. 00006ADE  226F 0038                movea.l    A1, [A7 + 0x38]
  9932. 00006AE2  2288                     move.l     [A1], A0
  9933. 00006AE4  7001                     moveq.l    D0, 0x01
  9934. 00006AE6  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9935. 00006AEA  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  9936. 00006AEE  4E75                     rts
  9937. fn00006AF0:
  9938. 00006AF0  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  9939. 00006AF4  286F 0014                movea.l    A4, [A7 + 0x14]
  9940. 00006AF8  246F 0018                movea.l    A2, [A7 + 0x18]
  9941. 00006AFC  2F2A 00A2                move.l     -[A7], [A2 + 0xA2]
  9942. 00006B00  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  9943. 00006B04  4EAD E5D8                jsr        [A5 - 0x1A28]
  9944. 00006B08  3600                     move.w     D3, D0
  9945. 00006B0A  256A 0008 0010           move.l     [A2 + 0x10], [A2 + 0x8]
  9946. 00006B10  256A 000C 0014           move.l     [A2 + 0x14], [A2 + 0xC]
  9947. 00006B16  486A 0010                pea.l      [A2 + 0x10]
  9948. 00006B1A  4267                     clr.w      -[A7]
  9949. 00006B1C  3F03                     move.w     -[A7], D3
  9950. 00006B1E  A8A8                     syscall    OffsetRect
  9951. 00006B20  4AAC 0054                tst.l      [A4 + 0x54]
  9952. 00006B24  504F                     addq.w     A7, 8
  9953. 00006B26  665C                     bne        +0x5E /* 00006B84 */
  9954. 00006B28  266C 0048                movea.l    A3, [A4 + 0x48]
  9955. 00006B2C  508B                     addq.l     A3, 8
  9956. 00006B2E  508B                     addq.l     A3, 8
  9957. 00006B30  302B 0006                move.w     D0, [A3 + 0x6]
  9958. 00006B34  48C0                     ext.l      D0
  9959. 00006B36  322A 00B8                move.w     D1, [A2 + 0xB8]
  9960. 00006B3A  48C1                     ext.l      D1
  9961. 00006B3C  342A 0016                move.w     D2, [A2 + 0x16]
  9962. 00006B40  48C2                     ext.l      D2
  9963. 00006B42  D481                     add.l      D2, D1
  9964. 00006B44  B480                     cmp.l      D2, D0
  9965. 00006B46  6F12                     ble        +0x14 /* 00006B5A */
  9966. 00006B48  302A 00B8                move.w     D0, [A2 + 0xB8]
  9967. 00006B4C  48C0                     ext.l      D0
  9968. 00006B4E  322B 0006                move.w     D1, [A3 + 0x6]
  9969. 00006B52  48C1                     ext.l      D1
  9970. 00006B54  9280                     sub.l      D1, D0
  9971. 00006B56  3541 0016                move.w     [A2 + 0x16], D1
  9972. label00006B5A:
  9973. 00006B5A  302B 0004                move.w     D0, [A3 + 0x4]
  9974. 00006B5E  48C0                     ext.l      D0
  9975. 00006B60  322A 00BA                move.w     D1, [A2 + 0xBA]
  9976. 00006B64  48C1                     ext.l      D1
  9977. 00006B66  342A 0014                move.w     D2, [A2 + 0x14]
  9978. 00006B6A  48C2                     ext.l      D2
  9979. 00006B6C  D481                     add.l      D2, D1
  9980. 00006B6E  B480                     cmp.l      D2, D0
  9981. 00006B70  6F12                     ble        +0x14 /* 00006B84 */
  9982. 00006B72  302A 00BA                move.w     D0, [A2 + 0xBA]
  9983. 00006B76  48C0                     ext.l      D0
  9984. 00006B78  322B 0004                move.w     D1, [A3 + 0x4]
  9985. 00006B7C  48C1                     ext.l      D1
  9986. 00006B7E  9280                     sub.l      D1, D0
  9987. 00006B80  3541 0014                move.w     [A2 + 0x14], D1
  9988. label00006B84:
  9989. 00006B84  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  9990. 00006B88  4E75                     rts
  9991. fn00006B8A:
  9992. 00006B8A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  9993. 00006B8E  514F                     subq.w     A7, 8
  9994. 00006B90  246F 0020                movea.l    A2, [A7 + 0x20]
  9995. 00006B94  266F 0024                movea.l    A3, [A7 + 0x24]
  9996. 00006B98  4AAF 0028                tst.l      [A7 + 0x28]
  9997. 00006B9C  6604                     bne        +0x6 /* 00006BA2 */
  9998. 00006B9E  7000                     moveq.l    D0, 0x00
  9999. 00006BA0  6002                     bra        +0x4 /* 00006BA4 */
  10000. label00006BA2:
  10001. 00006BA2  7001                     moveq.l    D0, 0x01
  10002. label00006BA4:
  10003. 00006BA4  2600                     move.l     D3, D0
  10004. 00006BA6  302B 0002                move.w     D0, [A3 + 0x2]
  10005. 00006BAA  48C0                     ext.l      D0
  10006. 00006BAC  9083                     sub.l      D0, D3
  10007. 00006BAE  3F40 0002                move.w     [A7 + 0x2], D0
  10008. 00006BB2  3013                     move.w     D0, [A3]
  10009. 00006BB4  48C0                     ext.l      D0
  10010. 00006BB6  9083                     sub.l      D0, D3
  10011. 00006BB8  3E80                     move.w     [A7], D0
  10012. 00006BBA  4AAA 008E                tst.l      [A2 + 0x8E]
  10013. 00006BBE  6728                     beq        +0x2A /* 00006BE8 */
  10014. 00006BC0  286A 008E                movea.l    A4, [A2 + 0x8E]
  10015. 00006BC4  2854                     movea.l    A4, [A4]
  10016. 00006BC6  548C                     addq.l     A4, 2
  10017. 00006BC8  3F6B 0006 0006           move.w     [A7 + 0x6], [A3 + 0x6]
  10018. 00006BCE  3014                     move.w     D0, [A4]
  10019. 00006BD0  48C0                     ext.l      D0
  10020. 00006BD2  322C 0004                move.w     D1, [A4 + 0x4]
  10021. 00006BD6  48C1                     ext.l      D1
  10022. 00006BD8  9280                     sub.l      D1, D0
  10023. 00006BDA  3017                     move.w     D0, [A7]
  10024. 00006BDC  48C0                     ext.l      D0
  10025. 00006BDE  D081                     add.l      D0, D1
  10026. 00006BE0  3F40 0004                move.w     [A7 + 0x4], D0
  10027. 00006BE4  4857                     pea.l      [A7]
  10028. 00006BE6  A928                     syscall    InvalRect
  10029. label00006BE8:
  10030. 00006BE8  302B 0006                move.w     D0, [A3 + 0x6]
  10031. 00006BEC  48C0                     ext.l      D0
  10032. 00006BEE  D083                     add.l      D0, D3
  10033. 00006BF0  3F40 0006                move.w     [A7 + 0x6], D0
  10034. 00006BF4  4AAA 009A                tst.l      [A2 + 0x9A]
  10035. 00006BF8  6712                     beq        +0x14 /* 00006C0C */
  10036. 00006BFA  206A 009A                movea.l    A0, [A2 + 0x9A]
  10037. 00006BFE  2050                     movea.l    A0, [A0]
  10038. 00006C00  4A28 0010                tst.b      [A0 + 0x10]
  10039. 00006C04  6706                     beq        +0x8 /* 00006C0C */
  10040. 00006C06  046F 000F 0006           subi.w     [A7 + 0x6], 0xF
  10041. label00006C0C:
  10042. 00006C0C  302B 0004                move.w     D0, [A3 + 0x4]
  10043. 00006C10  48C0                     ext.l      D0
  10044. 00006C12  D083                     add.l      D0, D3
  10045. 00006C14  3F40 0004                move.w     [A7 + 0x4], D0
  10046. 00006C18  4AAA 0096                tst.l      [A2 + 0x96]
  10047. 00006C1C  6712                     beq        +0x14 /* 00006C30 */
  10048. 00006C1E  206A 0096                movea.l    A0, [A2 + 0x96]
  10049. 00006C22  2050                     movea.l    A0, [A0]
  10050. 00006C24  4A28 0010                tst.b      [A0 + 0x10]
  10051. 00006C28  6706                     beq        +0x8 /* 00006C30 */
  10052. 00006C2A  046F 000F 0004           subi.w     [A7 + 0x4], 0xF
  10053. label00006C30:
  10054. 00006C30  2F2A 00A2                move.l     -[A7], [A2 + 0xA2]
  10055. 00006C34  206F 0020                movea.l    A0, [A7 + 0x20]
  10056. 00006C38  2F28 0048                move.l     -[A7], [A0 + 0x48]
  10057. 00006C3C  4EAD E5D8                jsr        [A5 - 0x1A28]
  10058. 00006C40  3600                     move.w     D3, D0
  10059. 00006C42  B66F 0008                cmp.w      D3, [A7 + 0x8]
  10060. 00006C46  504F                     addq.w     A7, 8
  10061. 00006C48  6F02                     ble        +0x4 /* 00006C4C */
  10062. 00006C4A  3E83                     move.w     [A7], D3
  10063. label00006C4C:
  10064. 00006C4C  4857                     pea.l      [A7]
  10065. 00006C4E  A928                     syscall    InvalRect
  10066. 00006C50  504F                     addq.w     A7, 8
  10067. 00006C52  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  10068. 00006C56  4E75                     rts
  10069. fn00006C58:
  10070. 00006C58  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  10071. 00006C5C  262F 0018                move.l     D3, [A7 + 0x18]
  10072. 00006C60  246F 001C                movea.l    A2, [A7 + 0x1C]
  10073. 00006C64  286F 0020                movea.l    A4, [A7 + 0x20]
  10074. 00006C68  2C6F 0024                movea.l    A6, [A7 + 0x24]
  10075. 00006C6C  266F 0028                movea.l    A3, [A7 + 0x28]
  10076. 00006C70  2043                     movea.l    A0, D3
  10077. 00006C72  2F28 0048                move.l     -[A7], [A0 + 0x48]
  10078. 00006C76  4EAD E848                jsr        [A5 - 0x17B8]
  10079. 00006C7A  5300                     subq.b     D0, 1
  10080. 00006C7C  584F                     addq.w     A7, 4
  10081. 00006C7E  6608                     bne        +0xA /* 00006C88 */
  10082. 00006C80  4EBA A93A                jsr        [PC - 0x56C6 /* 000015BC */]
  10083. 00006C84  3880                     move.w     [A4], D0
  10084. 00006C86  6012                     bra        +0x14 /* 00006C9A */
  10085. label00006C88:
  10086. 00006C88  302A 0012                move.w     D0, [A2 + 0x12]
  10087. 00006C8C  48C0                     ext.l      D0
  10088. 00006C8E  322A 0016                move.w     D1, [A2 + 0x16]
  10089. 00006C92  48C1                     ext.l      D1
  10090. 00006C94  9280                     sub.l      D1, D0
  10091. 00006C96  5281                     addq.l     D1, 1
  10092. 00006C98  3881                     move.w     [A4], D1
  10093. label00006C9A:
  10094. 00006C9A  4AAA 009A                tst.l      [A2 + 0x9A]
  10095. 00006C9E  673A                     beq        +0x3C /* 00006CDA */
  10096. 00006CA0  4AAA 0096                tst.l      [A2 + 0x96]
  10097. 00006CA4  6734                     beq        +0x36 /* 00006CDA */
  10098. 00006CA6  554F                     subq.w     A7, 2
  10099. 00006CA8  2F3C 5653 434C           move.l     -[A7], 0x5653434C /* 'VSCL' */
  10100. 00006CAE  A80D                     syscall    Count1Resources
  10101. 00006CB0  301F                     move.w     D0, [A7]+
  10102. 00006CB2  661A                     bne        +0x1C /* 00006CCE */
  10103. 00006CB4  7001                     moveq.l    D0, 0x01
  10104. 00006CB6  2740 001C                move.l     [A3 + 0x1C], D0
  10105. 00006CBA  302A 0010                move.w     D0, [A2 + 0x10]
  10106. 00006CBE  48C0                     ext.l      D0
  10107. 00006CC0  322A 0014                move.w     D1, [A2 + 0x14]
  10108. 00006CC4  48C1                     ext.l      D1
  10109. 00006CC6  9280                     sub.l      D1, D0
  10110. 00006CC8  3741 0020                move.w     [A3 + 0x20], D1
  10111. 00006CCC  6010                     bra        +0x12 /* 00006CDE */
  10112. label00006CCE:
  10113. 00006CCE  7001                     moveq.l    D0, 0x01
  10114. 00006CD0  2740 001C                move.l     [A3 + 0x1C], D0
  10115. 00006CD4  0454 000F                subi.w     [A4], 0xF
  10116. 00006CD8  6004                     bra        +0x6 /* 00006CDE */
  10117. label00006CDA:
  10118. 00006CDA  42AB 001C                clr.l      [A3 + 0x1C]
  10119. label00006CDE:
  10120. 00006CDE  2043                     movea.l    A0, D3
  10121. 00006CE0  4AA8 0054                tst.l      [A0 + 0x54]
  10122. 00006CE4  6604                     bne        +0x6 /* 00006CEA */
  10123. 00006CE6  4216                     clr.b      [A6]
  10124. 00006CE8  6004                     bra        +0x6 /* 00006CEE */
  10125. label00006CEA:
  10126. 00006CEA  1CBC 0001                move.b     [A6], 0x1
  10127. label00006CEE:
  10128. 00006CEE  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  10129. 00006CF2  4E75                     rts
  10130. fn00006CF4:
  10131. 00006CF4  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  10132. 00006CF8  4FEF FEF6                lea.l      A7, [A7 - 0x10A]
  10133. 00006CFC  246F 012E                movea.l    A2, [A7 + 0x12E]
  10134. 00006D00  286F 0136                movea.l    A4, [A7 + 0x136]
  10135. 00006D04  2A2F 013A                move.l     D5, [A7 + 0x13A]
  10136. 00006D08  2C2F 013E                move.l     D6, [A7 + 0x13E]
  10137. 00006D0C  1F3C 0006                move.b     -[A7], 0x6
  10138. 00006D10  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10139. 00006D14  4EAD E818                jsr        [A5 - 0x17E8]
  10140. 00006D18  3610                     move.w     D3, [A0]
  10141. 00006D1A  202F 0138                move.l     D0, [A7 + 0x138]
  10142. 00006D1E  4480                     neg.l      D0
  10143. 00006D20  2F00                     move.l     -[A7], D0
  10144. 00006D22  3F03                     move.w     -[A7], D3
  10145. 00006D24  4EAD E228                jsr        [A5 - 0x1DD8]
  10146. 00006D28  2C48                     movea.l    A6, A0
  10147. 00006D2A  2F0E                     move.l     -[A7], A6
  10148. 00006D2C  4EAD DD80                jsr        [A5 - 0x2280]
  10149. 00006D30  2608                     move.l     D3, A0
  10150. 00006D32  2043                     movea.l    A0, D3
  10151. 00006D34  70FF                     moveq.l    D0, 0xFFFFFFFF
  10152. label00006D36:
  10153. 00006D36  5280                     addq.l     D0, 1
  10154. 00006D38  4A18                     tst.b      [A0]+
  10155. 00006D3A  66FA                     bne        -0x4 /* 00006D36 */
  10156. 00006D3C  2043                     movea.l    A0, D3
  10157. 00006D3E  D1C0                     add.l      A0, D0
  10158. 00006D40  5288                     addq.l     A0, 1
  10159. 00006D42  2648                     movea.l    A3, A0
  10160. 00006D44  204B                     movea.l    A0, A3
  10161. 00006D46  70FF                     moveq.l    D0, 0xFFFFFFFF
  10162. label00006D48:
  10163. 00006D48  5280                     addq.l     D0, 1
  10164. 00006D4A  4A18                     tst.b      [A0]+
  10165. 00006D4C  66FA                     bne        -0x4 /* 00006D48 */
  10166. 00006D4E  204B                     movea.l    A0, A3
  10167. 00006D50  D1C0                     add.l      A0, D0
  10168. 00006D52  5288                     addq.l     A0, 1
  10169. 00006D54  2808                     move.l     D4, A0
  10170. 00006D56  200C                     move.l     D0, A4
  10171. 00006D58  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10172. 00006D5C  6702                     beq        +0x4 /* 00006D60 */
  10173. 00006D5E  4294                     clr.l      [A4]
  10174. label00006D60:
  10175. 00006D60  4AAD B2D8                tst.l      [A5 - 0x4D28]
  10176. 00006D64  6700 0114                beq        +0x116 /* 00006E7A */
  10177. 00006D68  7600                     moveq.l    D3, 0x00
  10178. 00006D6A  486F 0100                pea.l      [A7 + 0x100]
  10179. 00006D6E  486F 0108                pea.l      [A7 + 0x108]
  10180. 00006D72  486F 0110                pea.l      [A7 + 0x110]
  10181. 00006D76  2F0B                     move.l     -[A7], A3
  10182. 00006D78  4EAD FF28                jsr        [A5 - 0xD8]
  10183. 00006D7C  2F0E                     move.l     -[A7], A6
  10184. 00006D7E  4EAD DD88                jsr        [A5 - 0x2278]
  10185. 00006D82  4A86                     tst.l      D6
  10186. 00006D84  4FEF 0014                lea.l      A7, [A7 + 0x14]
  10187. 00006D88  6734                     beq        +0x36 /* 00006DBE */
  10188. 00006D8A  302F 0108                move.w     D0, [A7 + 0x108]
  10189. 00006D8E  48C0                     ext.l      D0
  10190. 00006D90  4A80                     tst.l      D0
  10191. 00006D92  6F26                     ble        +0x28 /* 00006DBA */
  10192. 00006D94  200C                     move.l     D0, A4
  10193. 00006D96  6704                     beq        +0x6 /* 00006D9C */
  10194. 00006D98  28AA 0048                move.l     [A4], [A2 + 0x48]
  10195. label00006D9C:
  10196. 00006D9C  1F3C 0011                move.b     -[A7], 0x11
  10197. 00006DA0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10198. 00006DA4  4EAD E818                jsr        [A5 - 0x17E8]
  10199. 00006DA8  30AF 010E                move.w     [A0], [A7 + 0x10E]
  10200. 00006DAC  4A85                     tst.l      D5
  10201. 00006DAE  5C4F                     addq.w     A7, 6
  10202. 00006DB0  673E                     beq        +0x40 /* 00006DF0 */
  10203. 00006DB2  2045                     movea.l    A0, D5
  10204. 00006DB4  20AF 0104                move.l     [A0], [A7 + 0x104]
  10205. 00006DB8  6036                     bra        +0x38 /* 00006DF0 */
  10206. label00006DBA:
  10207. 00006DBA  7601                     moveq.l    D3, 0x01
  10208. 00006DBC  6032                     bra        +0x34 /* 00006DF0 */
  10209. label00006DBE:
  10210. 00006DBE  302F 0108                move.w     D0, [A7 + 0x108]
  10211. 00006DC2  48C0                     ext.l      D0
  10212. 00006DC4  4A80                     tst.l      D0
  10213. 00006DC6  6F26                     ble        +0x28 /* 00006DEE */
  10214. 00006DC8  42A7                     clr.l      -[A7]
  10215. 00006DCA  4EBA A86A                jsr        [PC - 0x5796 /* 00001636 */]
  10216. 00006DCE  2F2F 0146                move.l     -[A7], [A7 + 0x146]
  10217. 00006DD2  42A7                     clr.l      -[A7]
  10218. 00006DD4  2F2F 010C                move.l     -[A7], [A7 + 0x10C]
  10219. 00006DD8  2F2F 0114                move.l     -[A7], [A7 + 0x114]
  10220. 00006DDC  3F2F 011C                move.w     -[A7], [A7 + 0x11C]
  10221. 00006DE0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10222. 00006DE4  4EAD FF20                jsr        [A5 - 0xE0]
  10223. 00006DE8  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  10224. 00006DEC  6002                     bra        +0x4 /* 00006DF0 */
  10225. label00006DEE:
  10226. 00006DEE  7601                     moveq.l    D3, 0x01
  10227. label00006DF0:
  10228. 00006DF0  4A83                     tst.l      D3
  10229. 00006DF2  6700 00B8                beq        +0xBA /* 00006EAC */
  10230. 00006DF6  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10231. 00006DFA  4EAD E848                jsr        [A5 - 0x17B8]
  10232. 00006DFE  5300                     subq.b     D0, 1
  10233. 00006E00  584F                     addq.w     A7, 4
  10234. 00006E02  6612                     bne        +0x14 /* 00006E16 */
  10235. 00006E04  42A7                     clr.l      -[A7]
  10236. 00006E06  4EBA A82E                jsr        [PC - 0x57D2 /* 00001636 */]
  10237. 00006E0A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10238. 00006E0E  206D 134A                movea.l    A0, [A5 + 0x134A /* export_613 */]
  10239. 00006E12  4E90                     jsr        [A0]
  10240. 00006E14  584F                     addq.w     A7, 4
  10241. label00006E16:
  10242. 00006E16  4857                     pea.l      [A7]
  10243. 00006E18  302D 135E                move.w     D0, [A5 + 0x135E]
  10244. 00006E1C  48C0                     ext.l      D0
  10245. 00006E1E  0680 0000 0081           addi.l     D0, 0x81
  10246. 00006E24  3F00                     move.w     -[A7], D0
  10247. 00006E26  3F3C 001E                move.w     -[A7], 0x1E
  10248. 00006E2A  4EAD DA4E                jsr        [A5 - 0x25B2]
  10249. 00006E2E  554F                     subq.w     A7, 2
  10250. 00006E30  486F 0002                pea.l      [A7 + 0x2]
  10251. 00006E34  4267                     clr.w      -[A7]
  10252. 00006E36  4EAD DCA8                jsr        [A5 - 0x2358]
  10253. 00006E3A  301F                     move.w     D0, [A7]+
  10254. 00006E3C  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  10255. 00006E40  4EAD DD80                jsr        [A5 - 0x2280]
  10256. 00006E44  2648                     movea.l    A3, A0
  10257. 00006E46  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10258. 00006E4A  4EAD DD40                jsr        [A5 - 0x22C0]
  10259. 00006E4E  4AAB 00A6                tst.l      [A3 + 0xA6]
  10260. 00006E52  56C0                     sne        D0
  10261. 00006E54  4400                     neg.b      D0
  10262. 00006E56  4880                     ext.w      D0
  10263. 00006E58  48C0                     ext.l      D0
  10264. 00006E5A  2F00                     move.l     -[A7], D0
  10265. 00006E5C  486B 0010                pea.l      [A3 + 0x10]
  10266. 00006E60  2F0B                     move.l     -[A7], A3
  10267. 00006E62  2F0A                     move.l     -[A7], A2
  10268. 00006E64  4EBA FD24                jsr        [PC - 0x2DC /* 00006B8A */]
  10269. 00006E68  4EAD DD48                jsr        [A5 - 0x22B8]
  10270. 00006E6C  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  10271. 00006E70  4EAD DD88                jsr        [A5 - 0x2278]
  10272. 00006E74  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  10273. 00006E78  6032                     bra        +0x34 /* 00006EAC */
  10274. label00006E7A:
  10275. 00006E7A  2F05                     move.l     -[A7], D5
  10276. 00006E7C  2F0C                     move.l     -[A7], A4
  10277. 00006E7E  4A86                     tst.l      D6
  10278. 00006E80  6606                     bne        +0x8 /* 00006E88 */
  10279. 00006E82  2044                     movea.l    A0, D4
  10280. 00006E84  4A10                     tst.b      [A0]
  10281. 00006E86  6704                     beq        +0x6 /* 00006E8C */
  10282. label00006E88:
  10283. 00006E88  7000                     moveq.l    D0, 0x00
  10284. 00006E8A  6002                     bra        +0x4 /* 00006E8E */
  10285. label00006E8C:
  10286. 00006E8C  7001                     moveq.l    D0, 0x01
  10287. label00006E8E:
  10288. 00006E8E  1F00                     move.b     -[A7], D0
  10289. 00006E90  2F0B                     move.l     -[A7], A3
  10290. 00006E92  2F04                     move.l     -[A7], D4
  10291. 00006E94  4878 FFFF                push.l     0xFFFF
  10292. 00006E98  2F03                     move.l     -[A7], D3
  10293. 00006E9A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  10294. 00006E9E  4EBA 9D8C                jsr        [PC - 0x6274 /* 00000C2C */]
  10295. 00006EA2  2F0E                     move.l     -[A7], A6
  10296. 00006EA4  4EAD DD88                jsr        [A5 - 0x2278]
  10297. 00006EA8  4FEF 0022                lea.l      A7, [A7 + 0x22]
  10298. label00006EAC:
  10299. 00006EAC  4FEF 010A                lea.l      A7, [A7 + 0x10A]
  10300. 00006EB0  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  10301. 00006EB4  4E75                     rts
  10302. fn00006EB6:
  10303. 00006EB6  4AAD B2D8                tst.l      [A5 - 0x4D28]
  10304. 00006EBA  6718                     beq        +0x1A /* 00006ED4 */
  10305. 00006EBC  302F 000C                move.w     D0, [A7 + 0xC]
  10306. 00006EC0  48C0                     ext.l      D0
  10307. 00006EC2  4A80                     tst.l      D0
  10308. 00006EC4  6D0E                     blt        +0x10 /* 00006ED4 */
  10309. 00006EC6  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  10310. 00006ECA  4EAD FF08                jsr        [A5 - 0xF8]
  10311. 00006ECE  2B40 A842                move.l     [A5 - 0x57BE], D0
  10312. 00006ED2  544F                     addq.w     A7, 2
  10313. label00006ED4:
  10314. 00006ED4  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  10315. 00006ED8  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  10316. 00006EDC  4EAD DB74                jsr        [A5 - 0x248C]
  10317. 00006EE0  504F                     addq.w     A7, 8
  10318. 00006EE2  4E75                     rts
  10319. fn00006EE4:
  10320. 00006EE4  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  10321. 00006EE8  286F 001C                movea.l    A4, [A7 + 0x1C]
  10322. 00006EEC  266F 0020                movea.l    A3, [A7 + 0x20]
  10323. 00006EF0  2A2F 0028                move.l     D5, [A7 + 0x28]
  10324. 00006EF4  7600                     moveq.l    D3, 0x00
  10325. 00006EF6  4A85                     tst.l      D5
  10326. 00006EF8  6606                     bne        +0x8 /* 00006F00 */
  10327. 00006EFA  246B 009A                movea.l    A2, [A3 + 0x9A]
  10328. 00006EFE  6004                     bra        +0x6 /* 00006F04 */
  10329. label00006F00:
  10330. 00006F00  246B 0096                movea.l    A2, [A3 + 0x96]
  10331. label00006F04:
  10332. 00006F04  200A                     move.l     D0, A2
  10333. 00006F06  6766                     beq        +0x68 /* 00006F6E */
  10334. 00006F08  2F0A                     move.l     -[A7], A2
  10335. 00006F0A  4EBA ACFE                jsr        [PC - 0x5302 /* 00001C0A */]
  10336. 00006F0E  2800                     move.l     D4, D0
  10337. 00006F10  4AAF 0028                tst.l      [A7 + 0x28]
  10338. 00006F14  584F                     addq.w     A7, 4
  10339. 00006F16  6704                     beq        +0x6 /* 00006F1C */
  10340. 00006F18  2604                     move.l     D3, D4
  10341. 00006F1A  600E                     bra        +0x10 /* 00006F2A */
  10342. label00006F1C:
  10343. 00006F1C  2F0A                     move.l     -[A7], A2
  10344. 00006F1E  4EBA ACC6                jsr        [PC - 0x533A /* 00001BE6 */]
  10345. 00006F22  2204                     move.l     D1, D4
  10346. 00006F24  9280                     sub.l      D1, D0
  10347. 00006F26  2601                     move.l     D3, D1
  10348. 00006F28  584F                     addq.w     A7, 4
  10349. label00006F2A:
  10350. 00006F2A  4A83                     tst.l      D3
  10351. 00006F2C  6740                     beq        +0x42 /* 00006F6E */
  10352. 00006F2E  2004                     move.l     D0, D4
  10353. 00006F30  9083                     sub.l      D0, D3
  10354. 00006F32  2F00                     move.l     -[A7], D0
  10355. 00006F34  2F0A                     move.l     -[A7], A2
  10356. 00006F36  4EBA ACF6                jsr        [PC - 0x530A /* 00001C2E */]
  10357. 00006F3A  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  10358. 00006F3E  4EAD DD40                jsr        [A5 - 0x22C0]
  10359. 00006F42  4878 0001                push.l     0x1
  10360. 00006F46  4A85                     tst.l      D5
  10361. 00006F48  6704                     beq        +0x6 /* 00006F4E */
  10362. 00006F4A  7000                     moveq.l    D0, 0x00
  10363. 00006F4C  6002                     bra        +0x4 /* 00006F50 */
  10364. label00006F4E:
  10365. 00006F4E  2003                     move.l     D0, D3
  10366. label00006F50:
  10367. 00006F50  2F00                     move.l     -[A7], D0
  10368. 00006F52  4A85                     tst.l      D5
  10369. 00006F54  6604                     bne        +0x6 /* 00006F5A */
  10370. 00006F56  7000                     moveq.l    D0, 0x00
  10371. 00006F58  6002                     bra        +0x4 /* 00006F5C */
  10372. label00006F5A:
  10373. 00006F5A  2003                     move.l     D0, D3
  10374. label00006F5C:
  10375. 00006F5C  2F00                     move.l     -[A7], D0
  10376. 00006F5E  2F0B                     move.l     -[A7], A3
  10377. 00006F60  2F0C                     move.l     -[A7], A4
  10378. 00006F62  4EBA E762                jsr        [PC - 0x189E /* 000056C6 */]
  10379. 00006F66  4EAD DD48                jsr        [A5 - 0x22B8]
  10380. 00006F6A  4FEF 0020                lea.l      A7, [A7 + 0x20]
  10381. label00006F6E:
  10382. 00006F6E  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  10383. 00006F72  4E75                     rts
  10384. fn00006F74:
  10385. 00006F74  2F0A                     move.l     -[A7], A2
  10386. 00006F76  4AAF 0012                tst.l      [A7 + 0x12]
  10387. 00006F7A  660A                     bne        +0xC /* 00006F86 */
  10388. 00006F7C  206F 000C                movea.l    A0, [A7 + 0xC]
  10389. 00006F80  2468 009A                movea.l    A2, [A0 + 0x9A]
  10390. 00006F84  6008                     bra        +0xA /* 00006F8E */
  10391. label00006F86:
  10392. 00006F86  206F 000C                movea.l    A0, [A7 + 0xC]
  10393. 00006F8A  2468 0096                movea.l    A2, [A0 + 0x96]
  10394. label00006F8E:
  10395. 00006F8E  200A                     move.l     D0, A2
  10396. 00006F90  672E                     beq        +0x30 /* 00006FC0 */
  10397. 00006F92  206F 0008                movea.l    A0, [A7 + 0x8]
  10398. 00006F96  2F28 0048                move.l     -[A7], [A0 + 0x48]
  10399. 00006F9A  4EAD DD40                jsr        [A5 - 0x22C0]
  10400. 00006F9E  0C2F 000B 0014           cmpi.b     [A7 + 0x14], 0xB
  10401. 00006FA4  6704                     beq        +0x6 /* 00006FAA */
  10402. 00006FA6  7017                     moveq.l    D0, 0x17
  10403. 00006FA8  6002                     bra        +0x4 /* 00006FAC */
  10404. label00006FAA:
  10405. 00006FAA  7016                     moveq.l    D0, 0x16
  10406. label00006FAC:
  10407. 00006FAC  7200                     moveq.l    D1, 0x00
  10408. 00006FAE  1200                     move.b     D1, D0
  10409. 00006FB0  3F01                     move.w     -[A7], D1
  10410. 00006FB2  2F0A                     move.l     -[A7], A2
  10411. 00006FB4  4EBA EBF6                jsr        [PC - 0x140A /* 00005BAC */]
  10412. 00006FB8  4EAD DD48                jsr        [A5 - 0x22B8]
  10413. 00006FBC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  10414. label00006FC0:
  10415. 00006FC0  245F                     movea.l    A2, [A7]+
  10416. 00006FC2  4E75                     rts
  10417. fn00006FC4:
  10418. 00006FC4  1F3C 0013                move.b     -[A7], 0x13
  10419. 00006FC8  206F 0006                movea.l    A0, [A7 + 0x6]
  10420. 00006FCC  2F28 0048                move.l     -[A7], [A0 + 0x48]
  10421. 00006FD0  4EAD E818                jsr        [A5 - 0x17E8]
  10422. 00006FD4  7001                     moveq.l    D0, 0x01
  10423. 00006FD6  2080                     move.l     [A0], D0
  10424. 00006FD8  5C4F                     addq.w     A7, 6
  10425. 00006FDA  4E75                     rts
  10426. fn00006FDC:
  10427. 00006FDC  48E7 1820                movem.l    -[A7], D3,D4,A2
  10428. 00006FE0  594F                     subq.w     A7, 4
  10429. 00006FE2  246F 0014                movea.l    A2, [A7 + 0x14]
  10430. 00006FE6  554F                     subq.w     A7, 2
  10431. 00006FE8  2F0A                     move.l     -[A7], A2
  10432. 00006FEA  A8AE                     syscall    EmptyRect
  10433. 00006FEC  101F                     move.b     D0, [A7]+
  10434. 00006FEE  6636                     bne        +0x38 /* 00007026 */
  10435. 00006FF0  7800                     moveq.l    D4, 0x00
  10436. 00006FF2  6024                     bra        +0x26 /* 00007018 */
  10437. label00006FF4:
  10438. 00006FF4  7600                     moveq.l    D3, 0x00
  10439. 00006FF6  6018                     bra        +0x1A /* 00007010 */
  10440. label00006FF8:
  10441. 00006FF8  207C 0000 0005           movea.l    A0, 0x5
  10442. 00006FFE  43D7                     lea.l      A1, [A7]
  10443. 00007000  A03B                     syscall    Delay
  10444. 00007002  2280                     move.l     [A1], D0
  10445. 00007004  42A7                     clr.l      -[A7]
  10446. 00007006  2F0A                     move.l     -[A7], A2
  10447. 00007008  4EBA 0024                jsr        [PC + 0x24 /* 0000702E */]
  10448. 0000700C  5283                     addq.l     D3, 1
  10449. 0000700E  504F                     addq.w     A7, 8
  10450. label00007010:
  10451. 00007010  7002                     moveq.l    D0, 0x02
  10452. 00007012  B680                     cmp.l      D3, D0
  10453. 00007014  6DE2                     blt        -0x1C /* 00006FF8 */
  10454. 00007016  5284                     addq.l     D4, 1
  10455. label00007018:
  10456. 00007018  554F                     subq.w     A7, 2
  10457. 0000701A  3EB8 0A24                move.w     [A7], [0x00000A24 /* MenuFlash */]
  10458. 0000701E  301F                     move.w     D0, [A7]+
  10459. 00007020  48C0                     ext.l      D0
  10460. 00007022  B880                     cmp.l      D4, D0
  10461. 00007024  6DCE                     blt        -0x30 /* 00006FF4 */
  10462. label00007026:
  10463. 00007026  584F                     addq.w     A7, 4
  10464. 00007028  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  10465. 0000702C  4E75                     rts
  10466. fn0000702E:
  10467. 0000702E  4EAD DD70                jsr        [A5 - 0x2290]
  10468. 00007032  4878 0021                push.l     0x21 /* '!' */
  10469. 00007036  A862                     syscall    ForeColor
  10470. 00007038  4878 001E                push.l     0x1E
  10471. 0000703C  A863                     syscall    BackColor
  10472. 0000703E  4AAF 0004                tst.l      [A7 + 0x4]
  10473. 00007042  6708                     beq        +0xA /* 0000704C */
  10474. 00007044  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  10475. 00007048  A8A4                     syscall    InvertRect
  10476. 0000704A  6006                     bra        +0x8 /* 00007052 */
  10477. label0000704C:
  10478. 0000704C  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  10479. 00007050  A8D5                     syscall    InverRgn/InvertRgn
  10480. label00007052:
  10481. 00007052  4EAD DD78                jsr        [A5 - 0x2288]
  10482. 00007056  4E75                     rts
  10483. fn00007058:
  10484. 00007058  2F0A                     move.l     -[A7], A2
  10485. 0000705A  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  10486. 0000705E  594F                     subq.w     A7, 4
  10487. 00007060  A8D8                     syscall    NewRgn
  10488. 00007062  205F                     movea.l    A0, [A7]+
  10489. 00007064  2448                     movea.l    A2, A0
  10490. 00007066  200A                     move.l     D0, A2
  10491. 00007068  660A                     bne        +0xC /* 00007074 */
  10492. 0000706A  91C8                     sub.l      A0, A0
  10493. 0000706C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  10494. 00007070  245F                     movea.l    A2, [A7]+
  10495. 00007072  4E75                     rts
  10496. label00007074:
  10497. 00007074  1F3C 0014                move.b     -[A7], 0x14
  10498. 00007078  206F 0016                movea.l    A0, [A7 + 0x16]
  10499. 0000707C  2F28 0048                move.l     -[A7], [A0 + 0x48]
  10500. 00007080  4EAD E818                jsr        [A5 - 0x17E8]
  10501. 00007084  4A90                     tst.l      [A0]
  10502. 00007086  5C4F                     addq.w     A7, 6
  10503. 00007088  6734                     beq        +0x36 /* 000070BE */
  10504. 0000708A  4857                     pea.l      [A7]
  10505. 0000708C  A874                     syscall    GetPort
  10506. 0000708E  2057                     movea.l    A0, [A7]
  10507. 00007090  3028 0016                move.w     D0, [A0 + 0x16]
  10508. 00007094  48C0                     ext.l      D0
  10509. 00007096  72F1                     moveq.l    D1, 0xFFFFFFF1
  10510. 00007098  D081                     add.l      D0, D1
  10511. 0000709A  3F40 0006                move.w     [A7 + 0x6], D0
  10512. 0000709E  3028 0014                move.w     D0, [A0 + 0x14]
  10513. 000070A2  48C0                     ext.l      D0
  10514. 000070A4  D081                     add.l      D0, D1
  10515. 000070A6  3F40 0004                move.w     [A7 + 0x4], D0
  10516. 000070AA  3F68 0016 000A           move.w     [A7 + 0xA], [A0 + 0x16]
  10517. 000070B0  3F68 0014 0008           move.w     [A7 + 0x8], [A0 + 0x14]
  10518. 000070B6  2F0A                     move.l     -[A7], A2
  10519. 000070B8  486F 0008                pea.l      [A7 + 0x8]
  10520. 000070BC  A8DF                     syscall    RectRgn
  10521. label000070BE:
  10522. 000070BE  204A                     movea.l    A0, A2
  10523. 000070C0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  10524. 000070C4  245F                     movea.l    A2, [A7]+
  10525. 000070C6  4E75                     rts
  10526. fn000070C8:
  10527. 000070C8  48E7 0030                movem.l    -[A7], A2,A3
  10528. 000070CC  594F                     subq.w     A7, 4
  10529. 000070CE  A8D8                     syscall    NewRgn
  10530. 000070D0  205F                     movea.l    A0, [A7]+
  10531. 000070D2  2448                     movea.l    A2, A0
  10532. 000070D4  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  10533. 000070D8  4EAD DD50                jsr        [A5 - 0x22B0]
  10534. 000070DC  200A                     move.l     D0, A2
  10535. 000070DE  584F                     addq.w     A7, 4
  10536. 000070E0  6732                     beq        +0x34 /* 00007114 */
  10537. 000070E2  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  10538. 000070E6  4EBA FF70                jsr        [PC - 0x90 /* 00007058 */]
  10539. 000070EA  2648                     movea.l    A3, A0
  10540. 000070EC  200B                     move.l     D0, A3
  10541. 000070EE  584F                     addq.w     A7, 4
  10542. 000070F0  660A                     bne        +0xC /* 000070FC */
  10543. 000070F2  2F0A                     move.l     -[A7], A2
  10544. 000070F4  A8D9                     syscall    DisposRgn/DisposeRgn
  10545. 000070F6  4CDF 0C00                movem.l    A2,A3, [A7]+
  10546. 000070FA  4E75                     rts
  10547. label000070FC:
  10548. 000070FC  2F0A                     move.l     -[A7], A2
  10549. 000070FE  A87A                     syscall    GetClip
  10550. 00007100  2F0A                     move.l     -[A7], A2
  10551. 00007102  2F0B                     move.l     -[A7], A3
  10552. 00007104  2F0A                     move.l     -[A7], A2
  10553. 00007106  A8E6                     syscall    DiffRgn
  10554. 00007108  2F0A                     move.l     -[A7], A2
  10555. 0000710A  A879                     syscall    SetClip
  10556. 0000710C  2F0A                     move.l     -[A7], A2
  10557. 0000710E  A8D9                     syscall    DisposRgn/DisposeRgn
  10558. 00007110  2F0B                     move.l     -[A7], A3
  10559. 00007112  A8D9                     syscall    DisposRgn/DisposeRgn
  10560. label00007114:
  10561. 00007114  4CDF 0C00                movem.l    A2,A3, [A7]+
  10562. 00007118  4E75                     rts
  10563. fn0000711A:
  10564. 0000711A  2F03                     move.l     -[A7], D3
  10565. 0000711C  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  10566. 00007120  206F 0014                movea.l    A0, [A7 + 0x14]
  10567. 00007124  2F68 0018 0004           move.l     [A7 + 0x4], [A0 + 0x18]
  10568. 0000712A  2F68 001C 0008           move.l     [A7 + 0x8], [A0 + 0x1C]
  10569. 00007130  4EAD DD70                jsr        [A5 - 0x2290]
  10570. 00007134  486F 0004                pea.l      [A7 + 0x4]
  10571. 00007138  4878 FFFF                push.l     0xFFFF
  10572. 0000713C  A8A9                     syscall    InsetRect
  10573. 0000713E  4878 0021                push.l     0x21 /* '!' */
  10574. 00007142  A863                     syscall    BackColor
  10575. 00007144  3F3C 2710                move.w     -[A7], 0x2710
  10576. 00007148  486F 0006                pea.l      [A7 + 0x6]
  10577. 0000714C  4EAD DBAA                jsr        [A5 - 0x2456]
  10578. 00007150  4EAD DD78                jsr        [A5 - 0x2288]
  10579. 00007154  4EAD DD60                jsr        [A5 - 0x22A0]
  10580. 00007158  3F3C 0001                move.w     -[A7], 0x1
  10581. 0000715C  A887                     syscall    TextFont
  10582. 0000715E  3F3C 000C                move.w     -[A7], 0xC
  10583. 00007162  A88A                     syscall    TextSize
  10584. 00007164  3F3C 0001                move.w     -[A7], 0x1
  10585. 00007168  A888                     syscall    TextFace
  10586. 0000716A  7600                     moveq.l    D3, 0x00
  10587. 0000716C  5C4F                     addq.w     A7, 6
  10588. 0000716E  6040                     bra        +0x42 /* 000071B0 */
  10589. label00007170:
  10590. 00007170  7001                     moveq.l    D0, 0x01
  10591. 00007172  C083                     and.l      D0, D3
  10592. 00007174  6604                     bne        +0x6 /* 0000717A */
  10593. 00007176  7003                     moveq.l    D0, 0x03
  10594. 00007178  6002                     bra        +0x4 /* 0000717C */
  10595. label0000717A:
  10596. 0000717A  7001                     moveq.l    D0, 0x01
  10597. label0000717C:
  10598. 0000717C  4880                     ext.w      D0
  10599. 0000717E  3F00                     move.w     -[A7], D0
  10600. 00007180  A889                     syscall    TextMode
  10601. 00007182  302F 0006                move.w     D0, [A7 + 0x6]
  10602. 00007186  48C0                     ext.l      D0
  10603. 00007188  720A                     moveq.l    D1, 0x0A
  10604. 0000718A  D081                     add.l      D0, D1
  10605. 0000718C  3F00                     move.w     -[A7], D0
  10606. 0000718E  302F 0006                move.w     D0, [A7 + 0x6]
  10607. 00007192  48C0                     ext.l      D0
  10608. 00007194  7214                     moveq.l    D1, 0x14
  10609. 00007196  D081                     add.l      D0, D1
  10610. 00007198  3F00                     move.w     -[A7], D0
  10611. 0000719A  A893                     syscall    MoveTo
  10612. 0000719C  486D B654                pea.l      [A5 - 0x49AC]
  10613. 000071A0  A884                     syscall    DrawString
  10614. 000071A2  207C 0000 001E           movea.l    A0, 0x1E
  10615. 000071A8  43D7                     lea.l      A1, [A7]
  10616. 000071AA  A03B                     syscall    Delay
  10617. 000071AC  2280                     move.l     [A1], D0
  10618. 000071AE  5283                     addq.l     D3, 1
  10619. label000071B0:
  10620. 000071B0  7008                     moveq.l    D0, 0x08
  10621. 000071B2  B680                     cmp.l      D3, D0
  10622. 000071B4  6DBA                     blt        -0x44 /* 00007170 */
  10623. 000071B6  4EAD DD68                jsr        [A5 - 0x2298]
  10624. 000071BA  486F 0004                pea.l      [A7 + 0x4]
  10625. 000071BE  A928                     syscall    InvalRect
  10626. 000071C0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  10627. 000071C4  261F                     move.l     D3, [A7]+
  10628. 000071C6  4E75                     rts
  10629. fn000071C8:
  10630. 000071C8  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  10631. 000071CC  4857                     pea.l      [A7]
  10632. 000071CE  A976                     syscall    GetKeys
  10633. 000071D0  4857                     pea.l      [A7]
  10634. 000071D2  3F3C 002E                move.w     -[A7], 0x2E /* '.' */
  10635. 000071D6  4EBA 0048                jsr        [PC + 0x48 /* 00007220 */]
  10636. 000071DA  4A80                     tst.l      D0
  10637. 000071DC  5C4F                     addq.w     A7, 6
  10638. 000071DE  6738                     beq        +0x3A /* 00007218 */
  10639. 000071E0  4857                     pea.l      [A7]
  10640. 000071E2  3F3C 000E                move.w     -[A7], 0xE
  10641. 000071E6  4EBA 0038                jsr        [PC + 0x38 /* 00007220 */]
  10642. 000071EA  4A80                     tst.l      D0
  10643. 000071EC  5C4F                     addq.w     A7, 6
  10644. 000071EE  6728                     beq        +0x2A /* 00007218 */
  10645. 000071F0  4857                     pea.l      [A7]
  10646. 000071F2  3F3C 0025                move.w     -[A7], 0x25 /* '%' */
  10647. 000071F6  4EBA 0028                jsr        [PC + 0x28 /* 00007220 */]
  10648. 000071FA  4A80                     tst.l      D0
  10649. 000071FC  5C4F                     addq.w     A7, 6
  10650. 000071FE  6718                     beq        +0x1A /* 00007218 */
  10651. 00007200  4857                     pea.l      [A7]
  10652. 00007202  3F3C 0011                move.w     -[A7], 0x11
  10653. 00007206  4EBA 0018                jsr        [PC + 0x18 /* 00007220 */]
  10654. 0000720A  4A80                     tst.l      D0
  10655. 0000720C  5C4F                     addq.w     A7, 6
  10656. 0000720E  6708                     beq        +0xA /* 00007218 */
  10657. 00007210  7001                     moveq.l    D0, 0x01
  10658. 00007212  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10659. 00007216  4E75                     rts
  10660. label00007218:
  10661. 00007218  7000                     moveq.l    D0, 0x00
  10662. 0000721A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10663. 0000721E  4E75                     rts
  10664. fn00007220:
  10665. 00007220  594F                     subq.w     A7, 4
  10666. 00007222  7001                     moveq.l    D0, 0x01
  10667. 00007224  322F 0008                move.w     D1, [A7 + 0x8]
  10668. 00007228  7407                     moveq.l    D2, 0x07
  10669. 0000722A  C282                     and.l      D1, D2
  10670. 0000722C  7400                     moveq.l    D2, 0x00
  10671. 0000722E  342F 0008                move.w     D2, [A7 + 0x8]
  10672. 00007232  E682                     asr        D2, 3
  10673. 00007234  206F 000A                movea.l    A0, [A7 + 0xA]
  10674. 00007238  2E80                     move.l     [A7], D0
  10675. 0000723A  7000                     moveq.l    D0, 0x00
  10676. 0000723C  1030 2800                move.b     D0, [A0 + D2]
  10677. 00007240  E2A0                     asr        D0, D1
  10678. 00007242  C097                     and.l      D0, [A7]
  10679. 00007244  56C0                     sne        D0
  10680. 00007246  4400                     neg.b      D0
  10681. 00007248  4880                     ext.w      D0
  10682. 0000724A  48C0                     ext.l      D0
  10683. 0000724C  584F                     addq.w     A7, 4
  10684. 0000724E  4E75                     rts
  10685. fn00007250:
  10686. 00007250  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  10687. 00007254  266F 0014                movea.l    A3, [A7 + 0x14]
  10688. 00007258  246F 0018                movea.l    A2, [A7 + 0x18]
  10689. 0000725C  42A7                     clr.l      -[A7]
  10690. 0000725E  2F0A                     move.l     -[A7], A2
  10691. 00007260  4EBA F202                jsr        [PC - 0xDFE /* 00006464 */]
  10692. 00007264  322A 0018                move.w     D1, [A2 + 0x18]
  10693. 00007268  48C1                     ext.l      D1
  10694. 0000726A  9280                     sub.l      D1, D0
  10695. 0000726C  584F                     addq.w     A7, 4
  10696. 0000726E  3F01                     move.w     -[A7], D1
  10697. 00007270  2F0A                     move.l     -[A7], A2
  10698. 00007272  4EBA F1D2                jsr        [PC - 0xE2E /* 00006446 */]
  10699. 00007276  322A 001A                move.w     D1, [A2 + 0x1A]
  10700. 0000727A  48C1                     ext.l      D1
  10701. 0000727C  9280                     sub.l      D1, D0
  10702. 0000727E  584F                     addq.w     A7, 4
  10703. 00007280  3F01                     move.w     -[A7], D1
  10704. 00007282  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  10705. 00007286  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  10706. 0000728A  4EAD E3C0                jsr        [A5 - 0x1C40]
  10707. 0000728E  42A7                     clr.l      -[A7]
  10708. 00007290  2F0A                     move.l     -[A7], A2
  10709. 00007292  2F0B                     move.l     -[A7], A3
  10710. 00007294  4EBA 0050                jsr        [PC + 0x50 /* 000072E6 */]
  10711. 00007298  2848                     movea.l    A4, A0
  10712. 0000729A  2008                     move.l     D0, A0
  10713. 0000729C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  10714. 000072A0  673E                     beq        +0x40 /* 000072E0 */
  10715. 000072A2  4AAA 008E                tst.l      [A2 + 0x8E]
  10716. 000072A6  6716                     beq        +0x18 /* 000072BE */
  10717. 000072A8  4878 0001                push.l     0x1
  10718. 000072AC  2F0A                     move.l     -[A7], A2
  10719. 000072AE  2F0B                     move.l     -[A7], A3
  10720. 000072B0  4EBA 0034                jsr        [PC + 0x34 /* 000072E6 */]
  10721. 000072B4  2C48                     movea.l    A6, A0
  10722. 000072B6  2008                     move.l     D0, A0
  10723. 000072B8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  10724. 000072BC  6602                     bne        +0x4 /* 000072C0 */
  10725. label000072BE:
  10726. 000072BE  2C4C                     movea.l    A6, A4
  10727. label000072C0:
  10728. 000072C0  2F0E                     move.l     -[A7], A6
  10729. 000072C2  2F0C                     move.l     -[A7], A4
  10730. 000072C4  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  10731. 000072C8  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  10732. 000072CC  4EAD E3B8                jsr        [A5 - 0x1C48]
  10733. 000072D0  BDCC                     cmpa.l     A6, A4
  10734. 000072D2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10735. 000072D6  6704                     beq        +0x6 /* 000072DC */
  10736. 000072D8  2F0E                     move.l     -[A7], A6
  10737. 000072DA  A8D9                     syscall    DisposRgn/DisposeRgn
  10738. label000072DC:
  10739. 000072DC  2F0C                     move.l     -[A7], A4
  10740. 000072DE  A8D9                     syscall    DisposRgn/DisposeRgn
  10741. label000072E0:
  10742. 000072E0  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  10743. 000072E4  4E75                     rts
  10744. fn000072E6:
  10745. 000072E6  48E7 0038                movem.l    -[A7], A2,A3,A4
  10746. 000072EA  514F                     subq.w     A7, 8
  10747. 000072EC  286F 0018                movea.l    A4, [A7 + 0x18]
  10748. 000072F0  266F 001C                movea.l    A3, [A7 + 0x1C]
  10749. 000072F4  594F                     subq.w     A7, 4
  10750. 000072F6  A8D8                     syscall    NewRgn
  10751. 000072F8  205F                     movea.l    A0, [A7]+
  10752. 000072FA  2448                     movea.l    A2, A0
  10753. 000072FC  2008                     move.l     D0, A0
  10754. 000072FE  660A                     bne        +0xC /* 0000730A */
  10755. 00007300  91C8                     sub.l      A0, A0
  10756. 00007302  504F                     addq.w     A7, 8
  10757. 00007304  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  10758. 00007308  4E75                     rts
  10759. label0000730A:
  10760. 0000730A  4AAB 008E                tst.l      [A3 + 0x8E]
  10761. 0000730E  6720                     beq        +0x22 /* 00007330 */
  10762. 00007310  4AAF 0020                tst.l      [A7 + 0x20]
  10763. 00007314  6604                     bne        +0x6 /* 0000731A */
  10764. 00007316  7000                     moveq.l    D0, 0x00
  10765. 00007318  6002                     bra        +0x4 /* 0000731C */
  10766. label0000731A:
  10767. 0000731A  7001                     moveq.l    D0, 0x01
  10768. label0000731C:
  10769. 0000731C  1F00                     move.b     -[A7], D0
  10770. 0000731E  486F 0002                pea.l      [A7 + 0x2]
  10771. 00007322  2F0B                     move.l     -[A7], A3
  10772. 00007324  2F0C                     move.l     -[A7], A4
  10773. 00007326  4EBA D8A8                jsr        [PC - 0x2758 /* 00004BD0 */]
  10774. 0000732A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10775. 0000732E  600A                     bra        +0xC /* 0000733A */
  10776. label00007330:
  10777. 00007330  2EAB 0018                move.l     [A7], [A3 + 0x18]
  10778. 00007334  2F6B 001C 0004           move.l     [A7 + 0x4], [A3 + 0x1C]
  10779. label0000733A:
  10780. 0000733A  2F0A                     move.l     -[A7], A2
  10781. 0000733C  486F 0004                pea.l      [A7 + 0x4]
  10782. 00007340  A8DF                     syscall    RectRgn
  10783. 00007342  4A6D B48A                tst.w      [A5 - 0x4B76]
  10784. 00007346  671E                     beq        +0x20 /* 00007366 */
  10785. 00007348  42A7                     clr.l      -[A7]
  10786. 0000734A  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  10787. 0000734E  4EAD F678                jsr        [A5 - 0x988]
  10788. 00007352  2648                     movea.l    A3, A0
  10789. 00007354  2008                     move.l     D0, A0
  10790. 00007356  504F                     addq.w     A7, 8
  10791. 00007358  670C                     beq        +0xE /* 00007366 */
  10792. 0000735A  2F0A                     move.l     -[A7], A2
  10793. 0000735C  2F0B                     move.l     -[A7], A3
  10794. 0000735E  2F0A                     move.l     -[A7], A2
  10795. 00007360  A8E6                     syscall    DiffRgn
  10796. 00007362  2F0B                     move.l     -[A7], A3
  10797. 00007364  A8D9                     syscall    DisposRgn/DisposeRgn
  10798. label00007366:
  10799. 00007366  204A                     movea.l    A0, A2
  10800. 00007368  504F                     addq.w     A7, 8
  10801. 0000736A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  10802. 0000736E  4E75                     rts
  10803. fn00007370:
  10804. 00007370  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  10805. 00007374  246F 0018                movea.l    A2, [A7 + 0x18]
  10806. 00007378  082A 0004 00AE           btst.b     [A2 + 0xAE], 0x4
  10807. 0000737E  6730                     beq        +0x32 /* 000073B0 */
  10808. 00007380  302A 00B6                move.w     D0, [A2 + 0xB6]
  10809. 00007384  B06A 00B4                cmp.w      D0, [A2 + 0xB4]
  10810. 00007388  6E06                     bgt        +0x8 /* 00007390 */
  10811. 0000738A  302A 00B4                move.w     D0, [A2 + 0xB4]
  10812. 0000738E  6004                     bra        +0x6 /* 00007394 */
  10813. label00007390:
  10814. 00007390  302A 00B6                move.w     D0, [A2 + 0xB6]
  10815. label00007394:
  10816. 00007394  3600                     move.w     D3, D0
  10817. 00007396  3003                     move.w     D0, D3
  10818. 00007398  48C0                     ext.l      D0
  10819. 0000739A  382A 0012                move.w     D4, [A2 + 0x12]
  10820. 0000739E  48C4                     ext.l      D4
  10821. 000073A0  D880                     add.l      D4, D0
  10822. 000073A2  302A 0016                move.w     D0, [A2 + 0x16]
  10823. 000073A6  48C0                     ext.l      D0
  10824. 000073A8  B084                     cmp.l      D0, D4
  10825. 000073AA  6F04                     ble        +0x6 /* 000073B0 */
  10826. 000073AC  3544 0016                move.w     [A2 + 0x16], D4
  10827. label000073B0:
  10828. 000073B0  4AAA 0092                tst.l      [A2 + 0x92]
  10829. 000073B4  672E                     beq        +0x30 /* 000073E4 */
  10830. 000073B6  266A 0092                movea.l    A3, [A2 + 0x92]
  10831. 000073BA  2653                     movea.l    A3, [A3]
  10832. 000073BC  548B                     addq.l     A3, 2
  10833. 000073BE  3013                     move.w     D0, [A3]
  10834. 000073C0  48C0                     ext.l      D0
  10835. 000073C2  362B 0004                move.w     D3, [A3 + 0x4]
  10836. 000073C6  48C3                     ext.l      D3
  10837. 000073C8  9680                     sub.l      D3, D0
  10838. 000073CA  3003                     move.w     D0, D3
  10839. 000073CC  48C0                     ext.l      D0
  10840. 000073CE  3A2A 0010                move.w     D5, [A2 + 0x10]
  10841. 000073D2  48C5                     ext.l      D5
  10842. 000073D4  DA80                     add.l      D5, D0
  10843. 000073D6  302A 0014                move.w     D0, [A2 + 0x14]
  10844. 000073DA  48C0                     ext.l      D0
  10845. 000073DC  B085                     cmp.l      D0, D5
  10846. 000073DE  6F04                     ble        +0x6 /* 000073E4 */
  10847. 000073E0  3545 0014                move.w     [A2 + 0x14], D5
  10848. label000073E4:
  10849. 000073E4  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  10850. 000073E8  4E75                     rts
  10851. fn000073EA:
  10852. 000073EA  48E7 0038                movem.l    -[A7], A2,A3,A4
  10853. 000073EE  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  10854. 000073F2  286F 0020                movea.l    A4, [A7 + 0x20]
  10855. 000073F6  266F 0024                movea.l    A3, [A7 + 0x24]
  10856. 000073FA  4AAB 009A                tst.l      [A3 + 0x9A]
  10857. 000073FE  6700 00D8                beq        +0xDA /* 000074D8 */
  10858. 00007402  1F3C 0014                move.b     -[A7], 0x14
  10859. 00007406  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  10860. 0000740A  4EAD E818                jsr        [A5 - 0x17E8]
  10861. 0000740E  4A90                     tst.l      [A0]
  10862. 00007410  5C4F                     addq.w     A7, 6
  10863. 00007412  6700 00C4                beq        +0xC6 /* 000074D8 */
  10864. 00007416  246B 009A                movea.l    A2, [A3 + 0x9A]
  10865. 0000741A  2452                     movea.l    A2, [A2]
  10866. 0000741C  508A                     addq.l     A2, 8
  10867. 0000741E  302A 0004                move.w     D0, [A2 + 0x4]
  10868. 00007422  B06B 0014                cmp.w      D0, [A3 + 0x14]
  10869. 00007426  6C00 00B0                bge        +0xB2 /* 000074D8 */
  10870. 0000742A  206C 0048                movea.l    A0, [A4 + 0x48]
  10871. 0000742E  3028 0016                move.w     D0, [A0 + 0x16]
  10872. 00007432  48C0                     ext.l      D0
  10873. 00007434  72F1                     moveq.l    D1, 0xFFFFFFF1
  10874. 00007436  D081                     add.l      D0, D1
  10875. 00007438  3F40 000A                move.w     [A7 + 0xA], D0
  10876. 0000743C  48C0                     ext.l      D0
  10877. 0000743E  720F                     moveq.l    D1, 0x0F
  10878. 00007440  D081                     add.l      D0, D1
  10879. 00007442  3F40 000E                move.w     [A7 + 0xE], D0
  10880. 00007446  206C 0048                movea.l    A0, [A4 + 0x48]
  10881. 0000744A  3028 0014                move.w     D0, [A0 + 0x14]
  10882. 0000744E  48C0                     ext.l      D0
  10883. 00007450  72F1                     moveq.l    D1, 0xFFFFFFF1
  10884. 00007452  D081                     add.l      D0, D1
  10885. 00007454  3F40 0008                move.w     [A7 + 0x8], D0
  10886. 00007458  48C0                     ext.l      D0
  10887. 0000745A  720F                     moveq.l    D1, 0x0F
  10888. 0000745C  D081                     add.l      D0, D1
  10889. 0000745E  3F40 000C                move.w     [A7 + 0xC], D0
  10890. 00007462  3F6A 0006 0006           move.w     [A7 + 0x6], [A2 + 0x6]
  10891. 00007468  3EAA 0004                move.w     [A7], [A2 + 0x4]
  10892. 0000746C  3F6A 0002 0002           move.w     [A7 + 0x2], [A2 + 0x2]
  10893. 00007472  302A 0004                move.w     D0, [A2 + 0x4]
  10894. 00007476  48C0                     ext.l      D0
  10895. 00007478  D081                     add.l      D0, D1
  10896. 0000747A  3F40 0004                move.w     [A7 + 0x4], D0
  10897. 0000747E  594F                     subq.w     A7, 4
  10898. 00007480  A8D8                     syscall    NewRgn
  10899. 00007482  205F                     movea.l    A0, [A7]+
  10900. 00007484  2448                     movea.l    A2, A0
  10901. 00007486  200A                     move.l     D0, A2
  10902. 00007488  674E                     beq        +0x50 /* 000074D8 */
  10903. 0000748A  594F                     subq.w     A7, 4
  10904. 0000748C  A8D8                     syscall    NewRgn
  10905. 0000748E  205F                     movea.l    A0, [A7]+
  10906. 00007490  2648                     movea.l    A3, A0
  10907. 00007492  200B                     move.l     D0, A3
  10908. 00007494  660E                     bne        +0x10 /* 000074A4 */
  10909. 00007496  2F0A                     move.l     -[A7], A2
  10910. 00007498  A8D9                     syscall    DisposRgn/DisposeRgn
  10911. 0000749A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10912. 0000749E  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  10913. 000074A2  4E75                     rts
  10914. label000074A4:
  10915. 000074A4  2F0B                     move.l     -[A7], A3
  10916. 000074A6  486F 000C                pea.l      [A7 + 0xC]
  10917. 000074AA  A8DF                     syscall    RectRgn
  10918. 000074AC  2F0A                     move.l     -[A7], A2
  10919. 000074AE  486F 0004                pea.l      [A7 + 0x4]
  10920. 000074B2  A8DF                     syscall    RectRgn
  10921. 000074B4  2F0A                     move.l     -[A7], A2
  10922. 000074B6  2F0B                     move.l     -[A7], A3
  10923. 000074B8  2F0A                     move.l     -[A7], A2
  10924. 000074BA  A8E6                     syscall    DiffRgn
  10925. 000074BC  2F0B                     move.l     -[A7], A3
  10926. 000074BE  486C 0040                pea.l      [A4 + 0x40]
  10927. 000074C2  A8DF                     syscall    RectRgn
  10928. 000074C4  2F0A                     move.l     -[A7], A2
  10929. 000074C6  2F0B                     move.l     -[A7], A3
  10930. 000074C8  2F0A                     move.l     -[A7], A2
  10931. 000074CA  A8E4                     syscall    SectRgn
  10932. 000074CC  2F0A                     move.l     -[A7], A2
  10933. 000074CE  A8D4                     syscall    EraseRgn
  10934. 000074D0  2F0A                     move.l     -[A7], A2
  10935. 000074D2  A8D9                     syscall    DisposRgn/DisposeRgn
  10936. 000074D4  2F0B                     move.l     -[A7], A3
  10937. 000074D6  A8D9                     syscall    DisposRgn/DisposeRgn
  10938. label000074D8:
  10939. 000074D8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10940. 000074DC  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  10941. 000074E0  4E75                     rts
  10942. 000074E2  0000 0000                ori.b      D0, 0x0
  10943. 000074E6  0000 0000                ori.b      D0, 0x0
  10944. 000074EA  0000 0000                ori.b      D0, 0x0
  10945.